undefined | true | PreloadOptiontype IncludeType = 'async-chunks' | 'initial' | 'all-assets' | 'all-chunks';
type Filter = Array<string | RegExp> | ((filename: string) => boolean);
interface PreloadOption {
type?: IncludeType;
include?: Filter;
exclude?: Filter;
}undefinedInject the <link rel="preload"> tags for the static assets generated by Rsbuild.
The usage of this configuration item is exactly the same as that of Rsbuild. For detailed information, please refer to Rsbuild - performance.preload.