output.sourceMap
optionalsourceMap?:boolean|SourceMap
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 SourceMap configures whether and how to generate source-map for outputs.
Default Value
When this option is unset in Lynx builds, JavaScript source maps use 'cheap-module-source-map' in development and 'source-map' in production; CSS source maps are also generated. All .map assets are removed before emit.