diff options
Diffstat (limited to '.changeset/dull-beers-move.md')
-rw-r--r-- | .changeset/dull-beers-move.md | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/.changeset/dull-beers-move.md b/.changeset/dull-beers-move.md deleted file mode 100644 index 5c5679bdc..000000000 --- a/.changeset/dull-beers-move.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -"astro": minor ---- - -Adds an option for integration authors to suppress adapter warning/errors in `supportedAstroFeatures`. This is useful when either an warning/error isn't applicable in a specific context or the default one might conflict and confuse users. - -To do so, you can add `suppress: "all"` (to suppress both the default and custom message) or `suppress: "default"` (to only suppress the default one): -```ts -setAdapter({ - name: 'my-astro-integration', - supportedAstroFeatures: { - staticOutput: "stable", - hybridOutput: "stable", - sharpImageService: { - support: "limited", - message: "The sharp image service isn't available in the deploy environment, but will be used by prerendered pages on build.", - suppress: "default", - }, - } -}) -``` - -For more information, see the [Adapter API reference docs](https://docs.astro.build/en/reference/adapter-reference/#astro-features). |