@@ -171,15 +171,15 @@ Minimum size, in bytes, for a chunk to be generated.
171
171
172
172
### splitChunks.enforceSizeThreshold
173
173
174
- #### splitChunks.cacheGroups.{ cacheGroup } .enforceSizeThreshold
174
+ #### ` splitChunks.cacheGroups.{cacheGroup}.enforceSizeThreshold `
175
175
176
176
` number = 50000 `
177
177
178
178
Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.
179
179
180
180
### splitChunks.minRemainingSize
181
181
182
- #### splitChunks.cacheGroups.{ cacheGroup } .minRemainingSize
182
+ #### ` splitChunks.cacheGroups.{cacheGroup}.minRemainingSize `
183
183
184
184
` number = 0 `
185
185
@@ -189,7 +189,7 @@ W> `splitChunks.minRemainingSize` only takes effect when a single chunk is remai
189
189
190
190
### splitChunks.layer
191
191
192
- #### splitChunks.cacheGroups.{ cacheGroup } .layer
192
+ #### ` splitChunks.cacheGroups.{cacheGroup}.layer `
193
193
194
194
` RegExp ` ` string ` ` function `
195
195
@@ -281,7 +281,7 @@ W> When assigning equal names to different split chunks, all vendor modules are
281
281
282
282
### splitChunks.usedExports
283
283
284
- #### splitChunks.cacheGroups{ cacheGroup } .usedExports
284
+ #### ` splitChunks.cacheGroups{cacheGroup}.usedExports `
285
285
286
286
` boolean = true `
287
287
@@ -307,13 +307,13 @@ module.exports = {
307
307
};
308
308
```
309
309
310
- #### splitChunks.cacheGroups.{ cacheGroup } .priority
310
+ #### ` splitChunks.cacheGroups.{cacheGroup}.priority `
311
311
312
312
` number = -20 `
313
313
314
314
A module can belong to multiple cache groups. The optimization will prefer the cache group with a higher ` priority ` . The default groups have a negative priority to allow custom groups to take higher priority (default value is ` 0 ` for custom groups).
315
315
316
- #### splitChunks.cacheGroups.{ cacheGroup } .reuseExistingChunk
316
+ #### ` splitChunks.cacheGroups.{cacheGroup}.reuseExistingChunk `
317
317
318
318
` boolean = true `
319
319
@@ -336,7 +336,7 @@ module.exports = {
336
336
};
337
337
```
338
338
339
- #### splitChunks.cacheGroups.{ cacheGroup } .type
339
+ #### ` splitChunks.cacheGroups.{cacheGroup}.type `
340
340
341
341
` function ` ` RegExp ` ` string `
342
342
@@ -361,7 +361,7 @@ module.exports = {
361
361
362
362
#### splitChunks.cacheGroups.test
363
363
364
- #### splitChunks.cacheGroups.{ cacheGroup } .test
364
+ #### ` splitChunks.cacheGroups.{cacheGroup}.test `
365
365
366
366
` function (module, { chunkGraph, moduleGraph }) => boolean ` ` RegExp ` ` string `
367
367
@@ -422,7 +422,7 @@ module.exports = {
422
422
};
423
423
```
424
424
425
- #### splitChunks.cacheGroups.{ cacheGroup } .filename
425
+ #### ` splitChunks.cacheGroups.{cacheGroup}.filename `
426
426
427
427
` string ` ` function (pathData, assetInfo) => string `
428
428
@@ -489,7 +489,7 @@ module.exports = {
489
489
};
490
490
```
491
491
492
- #### splitChunks.cacheGroups.{ cacheGroup } .enforce
492
+ #### ` splitChunks.cacheGroups.{cacheGroup}.enforce `
493
493
494
494
` boolean = false `
495
495
@@ -512,7 +512,7 @@ module.exports = {
512
512
};
513
513
```
514
514
515
- #### splitChunks.cacheGroups.{ cacheGroup } .idHint
515
+ #### ` splitChunks.cacheGroups.{cacheGroup}.idHint `
516
516
517
517
` string `
518
518
0 commit comments