close
Rslib
Search Docs
K
Guide
Config
API
GitHub
X
Discord
Guide
Config
API
GitHub
X
Discord
Menu
Config Overview
Filter
This page lists all the configurations for Rslib. See
Configure Rslib
for detail.
Lib Configurations
lib.format
lib.bundle
Set Entry
Example
lib.autoExtension
Default Extension
Customize Extension
lib.autoExternal
Object Type
Default Value
Example
lib.redirect
redirect.style
lib.syntax
Set ECMAScript Version
Set Browserslist Query
Mix ECMAScript Version and Browserslist Query
lib.externalHelpers
Example
lib.banner
Object Type
Notice
Customize Banner Content
lib.footer
Object Type
Notice
Customize Footer Content
lib.dts
lib.shims
shims.cjs
shims.cjs['import.meta.url']
shims.esm
shims.esm.__filename
shims.esm.__dirname
shims.esm.require
lib.id
Default Value
Customize ID
lib.umdName
Example
Rsbuild Configurations
source
source.aliasStrategy
source.alias
source.assetsInclude
source.decorators
source.define
source.entry
source.exclude
source.include
source.transformImport
source.tsconfigPath
output
output.charset
output.cleanDistPath
output.copy
output.cssModules
output.dataUriLimit
output.distPath
output.emitCss
output.externals
output.filenameHash
output.filename
output.inlineScripts
output.inlineStyles
output.legalComments
output.manifest
output.minify
output.overrideBrowserslist
output.polyfill
output.sourceMap
output.target
tools
tools.bundlerChain
tools.cssLoader
tools.lightningcssLoader
tools.postcss
tools.rspack
tools.styleLoader
tools.swc
plugins
Official Plugins
Community Plugins