Improve production build config (#8899)
This commit is contained in:
parent
28401962ca
commit
84f82ee2fe
1 changed files with 2 additions and 2 deletions
|
@ -50,11 +50,11 @@ module.exports = merge(sharedConfig, {
|
||||||
minimize: true,
|
minimize: true,
|
||||||
minimizer: [
|
minimizer: [
|
||||||
new UglifyJsPlugin({
|
new UglifyJsPlugin({
|
||||||
|
cache: true,
|
||||||
|
parallel: true,
|
||||||
sourceMap: true,
|
sourceMap: true,
|
||||||
|
|
||||||
uglifyOptions: {
|
uglifyOptions: {
|
||||||
mangle: true,
|
|
||||||
|
|
||||||
compress: {
|
compress: {
|
||||||
warnings: false,
|
warnings: false,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue