diff options
author | 2023-08-30 10:12:45 -0300 | |
---|---|---|
committer | 2023-08-30 10:12:45 -0300 | |
commit | a0955f769f9c9b73a401700fbe892ffbd6850d15 (patch) | |
tree | a68db78345299c7b59c55b2d9673247afd3b434f | |
parent | 5598feb71864f814d0a34bb6bf9f6ecdff081497 (diff) | |
download | astro-a0955f769f9c9b73a401700fbe892ffbd6850d15.tar.gz astro-a0955f769f9c9b73a401700fbe892ffbd6850d15.tar.zst astro-a0955f769f9c9b73a401700fbe892ffbd6850d15.zip |
[docs] remove experimental from image configs (#8282)
-rw-r--r-- | .changeset/hot-timers-wink.md | 5 | ||||
-rw-r--r-- | packages/astro/src/@types/astro.ts | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/.changeset/hot-timers-wink.md b/.changeset/hot-timers-wink.md new file mode 100644 index 000000000..e17621f0b --- /dev/null +++ b/.changeset/hot-timers-wink.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Remove "experimental" text from the image config options, for docs and editor etc. text displayed. diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index acf11f3b0..e8801d083 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -975,7 +975,7 @@ export interface AstroUserConfig { image?: { /** * @docs - * @name image.service (Experimental) + * @name image.service * @type {{entrypoint: 'astro/assets/services/sharp' | 'astro/assets/services/squoosh' | string, config: Record<string, any>}} * @default `{entrypoint: 'astro/assets/services/sharp', config?: {}}` * @version 2.1.0 @@ -999,14 +999,14 @@ export interface AstroUserConfig { /** * @docs - * @name image.domains (Experimental) + * @name image.domains * @type {string[]} * @default `{domains: []}` * @version 2.10.10 * @description * Defines a list of permitted image source domains for local image optimization. No other remote images will be optimized by Astro. * - * This option requires an array of individual domain names as strings. Wildcards are not permitted. Instead, use [`image.remotePatterns`](#imageremotepatterns-experimental) to define a list of allowed source URL patterns. + * This option requires an array of individual domain names as strings. Wildcards are not permitted. Instead, use [`image.remotePatterns`](#imageremotepatterns) to define a list of allowed source URL patterns. * * ```js * // astro.config.mjs @@ -1022,7 +1022,7 @@ export interface AstroUserConfig { /** * @docs - * @name image.remotePatterns (Experimental) + * @name image.remotePatterns * @type {RemotePattern[]} * @default `{remotePatterns: []}` * @version 2.10.10 |