close
logo
Rslib
Guide
Config
Blog
English
简体中文
Guide
Config
Blog
English
简体中文
logo
Rslib
Config Overview

Lib Configurations

lib.format
lib.bundle
lib.autoExtension
lib.autoExternal
lib.redirect
lib.syntax
lib.externalHelpers
lib.banner
lib.footer
lib.dts
lib.shims
lib.id
lib.umdName
lib.outBase
lib.experiments

Rsbuild Configurations

logLevel
resolve
source
output
tools
performance
plugins
📝 Edit this page on GitHub
Previous Pagetools
Next Pageplugins

#performance

Options for performance.

#performance.buildCache performance.buildCacheperformance.buildCache

To enable or configure persistent build cache.

Rslib enable persistent build cache by default in v0.17.3.

#performance.printFileSize performance.printFileSizeperformance.printFileSize

Whether to print the file sizes after build.

#performance.removeConsole performance.removeConsoleperformance.removeConsole

Whether to remove console.[methodName] in build.