diff --git a/webpack/config.prod.js b/webpack/config.prod.js index 249b509e..1b6b01e6 100644 --- a/webpack/config.prod.js +++ b/webpack/config.prod.js @@ -120,7 +120,8 @@ module.exports = [{ new webpack.optimize.UglifyJsPlugin({ sourceMap: true, compress: { - warnings: false + warnings: false, + drop_console :true } }), new webpack.LoaderOptionsPlugin({