[docs] remove experimental from image configs (#8282)
This commit is contained in:
parent
5598feb718
commit
a0955f769f
2 changed files with 9 additions and 4 deletions
5
.changeset/hot-timers-wink.md
Normal file
5
.changeset/hot-timers-wink.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Remove "experimental" text from the image config options, for docs and editor etc. text displayed.
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue