generated from garronej/ts-ci
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Vite built-in env inconsistent with typing #26
Comments
Hello @melishev, This is a bug. Thank you for reporting it. I'll release a new version with a fix |
It's fixed in Aditionally this release makes vite-envs self contained. (It won't add any thing to your node module but itself) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the vite-inv.d.ts file, I get content like this:
The problem is that when calling import.meta.env.PROD I will get a string, which seems to be normal behavior for an environment variable, so why the confusion?
The text was updated successfully, but these errors were encountered: