diff --git a/webpack.config.js b/webpack.config.js index cc17ad4de..60311aaa2 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -42,7 +42,7 @@ module.exports = function (env) { ], } if (env.prod) { - base.plugins.push(new webpack.optimize.UglifyJsPlugin()); + //base.plugins.push(new webpack.optimize.UglifyJsPlugin({sourceMap: true})); base.plugins.push(new webpack.LoaderOptionsPlugin({minimize: true})); base.plugins.push(new webpack.DefinePlugin({ "process.env.NODE_ENV": JSON.stringify("production")