1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-09-10 21:30:14 +08:00

refine uglifyOptions

This commit is contained in:
Pan 2018-08-09 11:04:08 +08:00
parent 1889cdec6e
commit 07dd180455

View File

@ -126,8 +126,8 @@ const webpackConfig = merge(baseWebpackConfig, {
minimizer: [ minimizer: [
new UglifyJsPlugin({ new UglifyJsPlugin({
uglifyOptions: { uglifyOptions: {
compress: { mangle: {
warnings: false safari10: true
} }
}, },
sourceMap: config.build.productionSourceMap, sourceMap: config.build.productionSourceMap,