environments
optionalenvironments?:Record<string,EnvironmentConfig>
Lynx default override
This is an Rsbuild option whose default is overridden by pluginLynx. The default shown below applies when using the plugin. Set this option at the top level of rsbuild.config.ts; an explicit value takes precedence.
The Config.environments option is used to set the output environment.
Default Value
When this option is unset, Rspeedy passes { lynx: {} } to Rsbuild.
Remarks
Normally you don't need this if you are not using Lynx for Web.
Examples
- Using different entries for Lynx and Web.
- Building Web-only outputs.