output.dataUriLimit
optionaldataUriLimit?:number|DataUriLimit
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 Output.dataUriLimit option is used to set the size threshold to inline static assets such as images and fonts.
Default Value
Examples
Inline all static assets less than 4kB:
Disable inlining of static assets:
Inline all static assets:
Disable inlining of all media but not images.
lynx.config.ts