feat: update option stability annotations

`buildConcurrency`, `rewrites`, and `sitemap` are no longer marked
experimental, while `useWebFonts` now is.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
pull/5335/head
Divyansh Singh 2 months ago
parent 705c1be0f8
commit ab1896fbf4

@ -110,6 +110,7 @@ export interface UserConfig<
* If you are a theme author, to support this, place your web font import * If you are a theme author, to support this, place your web font import
* between `webfont-marker-begin` and `webfont-marker-end` comments. * between `webfont-marker-begin` and `webfont-marker-end` comments.
* *
* @experimental
* @default true in webcontainers, else false * @default true in webcontainers, else false
*/ */
useWebFonts?: boolean useWebFonts?: boolean
@ -118,21 +119,15 @@ export interface UserConfig<
* This option allows you to configure the concurrency of the build. * This option allows you to configure the concurrency of the build.
* A lower number will reduce the memory usage but will increase the build time. * A lower number will reduce the memory usage but will increase the build time.
* *
* @experimental
* @default 64 * @default 64
*/ */
buildConcurrency?: number buildConcurrency?: number
/** /**
* @experimental
*
* source -> destination * source -> destination
*/ */
rewrites?: Record<string, string> | ((id: string) => string) rewrites?: Record<string, string> | ((id: string) => string)
/**
* @experimental
*/
sitemap?: SitemapStreamOptions & { sitemap?: SitemapStreamOptions & {
hostname: string hostname: string
transformItems?: (items: SitemapItem[]) => Awaitable<SitemapItem[]> transformItems?: (items: SitemapItem[]) => Awaitable<SitemapItem[]>

Loading…
Cancel
Save