Improve production build config (#8899)
parent
7635a136c9
commit
5569769737
|
@ -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 New Issue