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/config/rsbuild/performance.md.
close
  • 简体中文
  • performance

    与性能相关的选项。

    performance.buildCache performance.buildCacheperformance.buildCache

    用于启用或配置持久化构建缓存。

    Rslib 默认启用持久化构建缓存。

    performance.printFileSize performance.printFileSizeperformance.printFileSize

    是否在构建后输出所有静态资源文件的体积。

    performance.removeConsole performance.removeConsoleperformance.removeConsole

    是否自动移除代码中的 console.[methodName]