Add details about pinning Vite for Astro 6 upgrade.#13579
Conversation
Add details in the Cloudflare-specific upgrade details about pinning Vite to a 7.x version. Related: withastro/astro#16029
👷 Deploy Preview for astro-docs-2 processing.
|
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
|
Hello! Thank you for opening your first PR to Astro’s Docs! 🎉 Here’s what will happen next:
|
ArmandPhilippot
left a comment
There was a problem hiding this comment.
Thanks! I wasn't able to reproduce with the command available in the issue but I guess this can be useful for our user.
That's said I'm not sure the current wording/tone match our docs style so I left a suggestion. Feel free to improve the wording if it doesn't suit you, but I think something like this would be more appropriate in the docs.
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
|
Note that we're still chasing down a reproduction in withastro/astro#16029 so shouldn't merge anything here until we realize the scope of the issue |
|
withastro/astro#16062 (which produces a user-facing warning) supercedes a doc update. Withdrawing. Thanks everyone for working with me. |
Add details in the Cloudflare-specific upgrade details about pinning Vite to a 7.x version.
Related: withastro/astro#16029
Description
When upgrading to Astro 6 on Cloudflare, there are some transitive dependencies that result in Vite 7.x and 8.x getting pulled in. Well, Vite 8.x isn't supported by Astro and this causes things to break. Pinning the version of Vite is a suitable workaround that should be documented to help people migrate and adopt Astro faster.