Client: Fix Javascript OOM error during webpack compilation (#89)
authorGreen-Star <Green-Star@users.noreply.github.com>
Sat, 9 Sep 2017 10:04:21 +0000 (12:04 +0200)
committerBigard Florian <florian.bigard@gmail.com>
Sat, 9 Sep 2017 10:04:21 +0000 (12:04 +0200)
client/config/webpack.prod.js

index b950d3fe532a373aee9a590ff47ce202c058b683..fc47f03a0be1216fcd8286a8cf1f5cd6261027d8 100644 (file)
@@ -15,7 +15,6 @@ const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin')
 const NormalModuleReplacementPlugin = require('webpack/lib/NormalModuleReplacementPlugin')
 const OptimizeJsPlugin = require('optimize-js-plugin')
 const HashedModuleIdsPlugin = require('webpack/lib/HashedModuleIdsPlugin')
-const ModuleConcatenationPlugin = require('webpack/lib/optimize/ModuleConcatenationPlugin')
 const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
 /**
  * Webpack Constants
@@ -108,7 +107,6 @@ module.exports = function (env) {
        * See: http://webpack.github.io/docs/configuration.html#plugins
        */
       plugins: [
-        new ModuleConcatenationPlugin(),
 
         /**
          * Webpack plugin to optimize a JavaScript file for faster initial load