For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/configure/app/split-chunks.md.
  • 简体中文
  • splitChunks

    • 类型:
    type SplitChunksConfig =
      | (Rspack.OptimizationSplitChunksOptions & {
          preset?: SplitChunksPreset;
        })
      | false;

    splitChunks 用于配置 Rsbuild 的 chunk 拆分策略。

    Info

    该配置项的使用方式与 Rsbuild 完全一致。详细信息请参考 Rsbuild - splitChunks。