Skip to content

advancedChunks

  • Type: optional advancedChunks: object

Allows you to do manual chunking. For deeper understanding, please refer to the in-depth documentation.

groups?

  • Type: optional groups: object[]

Groups to be used for advanced chunking.

includeDependenciesRecursively?

  • Type: optional includeDependenciesRecursively: boolean

  • Type: boolean

  • Default: 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: optional maxModuleSize: number

  • Type: number

Global fallback of {group}.maxModuleSize, if it's not specified in the group.

maxSize?

  • Type: optional maxSize: number

  • Type: number

Global fallback of {group}.maxSize, if it's not specified in the group.

minModuleSize?

  • Type: optional minModuleSize: number

  • Type: number

Global fallback of {group}.minModuleSize, if it's not specified in the group.

minShareCount?

  • Type: optional minShareCount: number

  • Type: number

Global fallback of {group}.minShareCount, if it's not specified in the group.

minSize?

  • Type: optional minSize: number

  • Type: number

Global fallback of {group}.minSize, if it's not specified in the group.

Released under the MIT License.