diff --git a/webpack.config.js b/webpack.config.js index 88470f41e..498d3f16f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -33,16 +33,12 @@ if (minimize) { NODE_ENV: JSON.stringify('production') } })); - + plugins.push(new webpack.optimize.ModuleConcatenationPlugin()); plugins.push(new webpack.optimize.UglifyJsPlugin({ compress: { - // It is nice to see warnings from UglifyJsPlugin that something is - // unused/removed. warnings: true }, extractComments: true, - - // Use the source map to map error message locations to modules. sourceMap: true })); }