Commit 3ca81975 authored by JingChao's avatar JingChao

Update webpack.prod.conf.js

parent 9b53a08f
...@@ -38,8 +38,8 @@ const webpackConfig = merge(baseWebpackConfig, { ...@@ -38,8 +38,8 @@ const webpackConfig = merge(baseWebpackConfig, {
new webpack.optimize.UglifyJsPlugin({ new webpack.optimize.UglifyJsPlugin({
compress: { compress: {
warnings: false, warnings: false,
drop_debugger: true, drop_debugger: env.debug,
drop_console: true drop_console: env.debug
}, },
sourceMap: config.build.productionSourceMap, sourceMap: config.build.productionSourceMap,
parallel: true parallel: true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment