type AppIconItem = {
src: string;
size: number;
target?: 'apple-touch-icon' | 'web-app-manifest';
};
type AppIcon = {
name?: string;
icons: AppIconItem[];
filename?: string;
};undefined设置 Web 应用的图标,用于在添加到移动设备的主屏幕时显示:
icons 字段。apple-touch-icon 标签和 manifest 标签。该配置项的使用方式与 Rsbuild 完全一致。详细信息请参考 Rsbuild - html.appIcon。