0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00

fix: incorrect type for experimental option (#10987)

This commit is contained in:
Emanuele Stoppa 2024-05-09 14:32:04 +01:00 committed by GitHub
parent 3e168589d6
commit 05db5f7818
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
"astro": patch
---
Fix a regression where the flag `experimental.rewriting` was marked mandatory. Is is now optional.

View file

@ -2107,7 +2107,7 @@ export interface AstroUserConfig {
*
* For a complete overview, and to give feedback on this experimental API, see the [Rerouting RFC](https://github.com/withastro/roadmap/blob/feat/reroute/proposals/0047-rerouting.md).
*/
rewriting: boolean;
rewriting?: boolean;
};
}