Commit 4302f9b4 authored by shabai517's avatar shabai517
Browse files

update production compress scheme and remove logs

parent 5c9d9715
......@@ -35,7 +35,9 @@ const webpackConfig = merge(baseWebpackConfig, {
new UglifyJsPlugin({
uglifyOptions: {
compress: {
warnings: false
warnings: false,
drop_debugger: true, // self added for removing logs in productions
drop_console: true // self added for removing logs in productions
}
},
sourceMap: config.build.productionSourceMap,
......
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