diff --git a/scripts/webpack.prod.js b/scripts/webpack.prod.js index 793daea3..7e553275 100644 --- a/scripts/webpack.prod.js +++ b/scripts/webpack.prod.js @@ -20,11 +20,7 @@ module.exports = merge(baseConfig, { libraryExport: 'default', }, plugins: [ - new UglifyJSPlugin({ - output: { - comments: false, - }, - }), + new UglifyJSPlugin(), new webpack.optimize.ModuleConcatenationPlugin(), ], }); diff --git a/scripts/webpack.prod.plugins.js b/scripts/webpack.prod.plugins.js index 03e70885..9f8819e0 100644 --- a/scripts/webpack.prod.plugins.js +++ b/scripts/webpack.prod.plugins.js @@ -28,11 +28,7 @@ module.exports = merge(baseConfig, { }, }, plugins: [ - new UglifyJSPlugin({ - output: { - comments: false, - }, - }), + new UglifyJSPlugin(), new webpack.optimize.ModuleConcatenationPlugin(), ], });