advancedChunks
- Type:
optionaladvancedChunks:object
Allows you to do manual chunking. For deeper understanding, please refer to the in-depth documentation.
groups?
- Type:
optionalgroups:object[]
Groups to be used for advanced chunking.
includeDependenciesRecursively?
Type:
optionalincludeDependenciesRecursively:booleanType:
booleanDefault:
true
By default, each group will also include captured modules' dependencies. This reduces the chance of generating circular chunks.
If you want to disable this behavior, it's recommended to both set
preserveEntrySignatures: false | 'allow-extension'strictExecutionOrder: true
to avoid generating invalid chunks.
maxModuleSize?
Type:
optionalmaxModuleSize:numberType:
number
Global fallback of {group}.maxModuleSize, if it's not specified in the group.
maxSize?
Type:
optionalmaxSize:numberType:
number
Global fallback of {group}.maxSize, if it's not specified in the group.
minModuleSize?
Type:
optionalminModuleSize:numberType:
number
Global fallback of {group}.minModuleSize, if it's not specified in the group.
minShareCount?
Type:
optionalminShareCount:numberType:
number
Global fallback of {group}.minShareCount, if it's not specified in the group.
minSize?
Type:
optionalminSize:numberType:
number
Global fallback of {group}.minSize, if it's not specified in the group.