For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /configure/app/html/app-icon.md.

html.appIcon

  • Type:
type AppIconItem = {
  src: string;
  size: number;
  target?: 'apple-touch-icon' | 'web-app-manifest';
};

type AppIcon = {
  name?: string;
  icons: AppIconItem[];
  filename?: string;
};
  • Default: undefined

Set the web application icons to display when added to the home screen of a mobile device:

  • Generate the web app manifest file and its icons field.
  • Generate the apple-touch-icon and manifest tags in the HTML file.
Info

The usage of this configuration item is exactly the same as that of Rsbuild. For detailed information, please refer to Rsbuild - html.appIcon.