-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: ensure compatibility with vite v6.0.7 #63
Conversation
+1 |
Is the |
@Menci Thanks for pointing out. If user doesn't set if explicitly, |
@Menci please can you look at this when you have a chance 🙏 , it's breaking builds for some of our clients. |
Hi @ocavue , I forked your branch and publish the temporary npm package here: |
Sorry for so late! I just forgot this PR and just realized it when checking my email today... |
Released in |
After updating vite from v6.0.6 to v6.0.7,
vite-plugin-top-level-await
doesn't work anymore. This is becausevite-plugin-top-level-await
mutates config in theconfigResolved()
hook. This mutation should be done in theconfig()
hook. See the explanation here for more details.Closes #61