add minSize
This commit is contained in:
parent
556b9c7927
commit
caad947161
|
@ -159,6 +159,7 @@ module.exports = function (defaults) {
|
|||
splitChunks: {
|
||||
chunks: "all",
|
||||
maxSize: 1 * 1024 * 1024, // 1MB
|
||||
minSize: 0.8 * 1024 * 1024, // 0.8MB
|
||||
},
|
||||
},
|
||||
cache: isProduction
|
||||
|
|
Loading…
Reference in New Issue