0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/.changeset/slimy-queens-hang.md
Erika f7f2338c2b
refactor: rework supportedAstroFeatures (#11806)
* refactor: rework supportAstroFeatures

* fix: build

* fix: tests

* chore: changeset
2024-09-13 13:58:57 +02:00

454 B

astro
minor

The value of the different properties on supportedAstroFeatures for adapters can now be objects, with a support and message properties. The content of the message property will be shown in the Astro CLI when the adapter is not compatible with the feature, allowing one to give a better informational message to the user.

This is notably useful with the new limited value, to explain to the user why support is limited.