mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-09-10 12:50:38 +08:00
refine uglifyOptions
This commit is contained in:
parent
1889cdec6e
commit
07dd180455
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user