Commit b3e7f5b2 authored by JingChao's avatar JingChao

Update webpack.prod.conf.js

parent 3ca81975
...@@ -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: env.debug, drop_debugger: !env.debug,
drop_console: env.debug 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