-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Compilation fails after upgrading to Vite 5 #21
Comments
Is your project in ESM? Your package.json should have "type": "module". |
Yeah, thanks for the quick fix. It still gives a warning though:
|
I have the same issue, I did not have the warning before using this plugin, seems like it's something in that
|
Reproducing here too. |
Can confirm it breaks when trying to load from a separate file (env.ts), but it works fine when is in the vite.config.mts file |
Thanks guys. So that means it's probably coming from |
Hi @Julien-R44, any update on this? I am getting this warning as well |
Hi @Julien-R44. I have a same warning too. Is there any solution? |
haven't had time to investigate yet. happy to review a PR for this |
Fixed with version 1.1.1 |
Full error message:
The text was updated successfully, but these errors were encountered: