Search Docs
type DataUriLimitConfig = | number | { svg?: number; font?: number; image?: number; media?: number; };
const defaultDatUriLimit = 10000;
Set the size threshold to inline static assets such as images and fonts.
The usage of this configuration item is exactly the same as that of Rsbuild. For detailed information, please refer to Rsbuild - output.dataUriLimit.