Repository: withastro/astro
File: packages/astro/src/types/public/config.ts (TypeScript)

Code before:
		 * ---
		 * import Logo from './path/to/svg/file.svg';
		 * ---
		 *
		 * <Logo size={24} />
		 * ```
		 *
		 * For a complete overview, and to give feedback on this experimental API,
		 * see the [Feature RFC](https://github.com/withastro/roadmap/pull/1035).
		 */
		svg?: boolean;

		/**
		 *
		 * @name experimental.fonts
		 * @type {FontFamily[]}
		 * @version 5.7
		 * @description
		 *
		 * This experimental feature allows you to use fonts from your filesystem and various providers
		 * (eg. Google, Fontsource, Bunny...) through a unified, fully customizable and type-safe API.
		 *
		 * Web fonts can impact page performance at both load time and rendering time. We're doing
		 * automatic [optimization](https://web.dev/learn/performance/optimize-web-fonts) by creating
		 * preload links and optimized fallbacks. We also have opiniated defaults to avoid downloading
		 * too many font files.
		 *
		 * For a complete overview, and to give feedback on this experimental API,
		 * see the [Fonts RFC](https://github.com/withastro/roadmap/pull/1039).
		 */
		fonts?: [TFontFamilies] extends [never] ? FontFamily[] : TFontFamilies;

		/*
		 * @name experimental.serializeConfig
		 * @type {boolean}
		 * @default `false`
		 * @version 5.x
		 * @description
		 *
		 * Enables the use of the experimental virtual modules `astro:config/server` and `astro:config/client`.
		 *
		 * These two virtual modules contain a serializable subset of the Astro configuration.
		 */
		serializeConfig?: boolean;

		/**
		 * @name experimental.headingIdCompat
		 * @type {boolean}
		 * @default `false`
		 * @version 5.5.x
		 * @description

Review comment (performance):
```suggestion
		 * Web fonts can impact page performance at both load time and rendering time. This feature provides
		 * automatic [optimization](https://web.dev/learn/performance/optimize-web-fonts) by creating
		 * preload links and optimized fallbacks. This API includes opinionated defaults to keep your sites lightweight and performant (e.g. minimal font files downloaded) while allowing for extensive customization so you can opt in to greater control.
```
Maybe something like this?

Code after:
		 * ---
		 * import Logo from './path/to/svg/file.svg';
		 * ---
		 *
		 * <Logo size={24} />
		 * ```
		 *
		 * For a complete overview, and to give feedback on this experimental API,
		 * see the [Feature RFC](https://github.com/withastro/roadmap/pull/1035).
		 */
		svg?: boolean;

		/**
		 *
		 * @name experimental.fonts
		 * @type {FontFamily[]}
		 * @version 5.7
		 * @description
		 *
		 * This experimental feature allows you to use fonts from your filesystem and various providers
		 * (eg. Google, Fontsource, Bunny...) through a unified, fully customizable and type-safe API.
		 *
		 * Web fonts can impact page performance at both load time and rendering time. This feature provides
		 * automatic [optimization](https://web.dev/learn/performance/optimize-web-fonts) by creating
		 * preload links and optimized fallbacks. This API includes opinionated defaults to keep your sites lightweight and performant (e.g. minimal font files downloaded) while allowing for extensive customization so you can opt in to greater control.
		 *
		 * For a complete overview, and to give feedback on this experimental API,
		 * see the [Fonts RFC](https://github.com/withastro/roadmap/pull/1039).
		 */
		fonts?: [TFontFamilies] extends [never] ? FontFamily[] : TFontFamilies;

		/*
		 * @name experimental.serializeConfig
		 * @type {boolean}
		 * @default `false`
		 * @version 5.x
		 * @description
		 *
		 * Enables the use of the experimental virtual modules `astro:config/server` and `astro:config/client`.
		 *
		 * These two virtual modules contain a serializable subset of the Astro configuration.
		 */
		serializeConfig?: boolean;

		/**
		 * @name experimental.headingIdCompat
		 * @type {boolean}
		 * @default `false`
		 * @version 5.5.x
		 * @description
		 *