add minSize

This commit is contained in:
David Taylor 2024-10-14 19:00:56 +01:00
parent 556b9c7927
commit caad947161
No known key found for this signature in database
GPG Key ID: 46904C18B1D3F434
1 changed files with 1 additions and 0 deletions

View File

@ -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