close
  • 简体中文
  • performance

    与性能相关的选项。

    performance.buildCache performance.buildCacheperformance.buildCache

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

    Rslib 在 v0.18.0 版本中默认启用了持久化构建缓存。

    performance.printFileSize performance.printFileSizeperformance.printFileSize

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

    performance.removeConsole performance.removeConsoleperformance.removeConsole

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