KC's Workspace
    Preparing search index...

    Configuration options for advanced code splitting.

    type CodeSplittingOptions = {
        groups?: CodeSplittingGroup[];
        includeDependenciesRecursively?: boolean;
        maxModuleSize?: number;
        maxSize?: number;
        minModuleSize?: number;
        minShareCount?: number;
        minSize?: number;
    }
    Index

    Properties

    Groups to be used for code splitting.

    includeDependenciesRecursively?: boolean

    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

    to avoid generating invalid chunks.

    true
    
    maxModuleSize?: number

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

    maxSize?: number

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

    minModuleSize?: number

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

    minShareCount?: number

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

    minSize?: number

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