Improve production build config (#8899)
parent
28401962ca
commit
84f82ee2fe
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
Reference in New Issue