KC's Workspace
    Preparing search index...

    Interface ChunkOptimizationOptions

    interface ChunkOptimizationOptions {
        avoidRedundantChunkLoads?: boolean;
        mergeCommonChunks?: boolean;
    }
    Index
    avoidRedundantChunkLoads?: boolean

    Avoid emitting redundant chunk loads for dynamic entries.

    This pass can reduce dynamic-entry dependent chunks when the shared modules are guaranteed to be loaded by every importer of that dynamic entry.

    true
    
    mergeCommonChunks?: boolean

    Merge common chunks into existing entry chunks when it is safe.

    This can reduce the number of emitted chunks by moving shared/common modules into an entry chunk that already depends on them. Rolldown only applies the merge when it does not create a circular chunk dependency or change strict entry export signatures. This pass also covers safe empty-facade cleanup.

    true