Overview
- Type:
-
Default:
undefined -
Required:
true
The lib configuration is an array of objects, each representing a distinct set of configurations. These include all Rsbuild configurations as well as Rslib-specific configurations, designed to generate different outputs.
Shared lib configuration
Some lib options can also be configured at the top level of RslibConfig as defaults for all lib items. The same option configured inside a lib item overrides the top-level value.
The following options support top-level configuration:
