For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /config/options/multiCompiler.md.
close
  • English
  • multiCompiler

    • Type: boolean | { group?: string }
    • Default: true

    RsdoctorRspackPlugin automatically detects compilers created during the same startup, creates isolated analysis data for each compiler, and adds a compiler selector to the report. Rsbuild environments use their environment names, such as web and node.

    The default compiler keeps the existing .rsdoctor output path. Additional compilers are written to .rsdoctor/compilers/<compilerName>.

    Set this option to false when the same process creates unrelated compilers together. You can also explicitly group plugin instances:

    new RsdoctorRspackPlugin({
      multiCompiler: { group: 'ssr' },
    });