-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
env file load incorrect #10440
Comments
It looks like a version issue, vite uses |
Looks like you are using |
yeah, when i escape the
But
|
Vite uses I think we should add some explanation about this here. I guess you thought it work with |
I would like to help with update in the documentation :), i'm gonna send my PR |
Note explain how to avoid $
Describe the bug
I have a .env file looks like this:
But in my app, the env variable became this:
In [email protected], the env variable is correct:
Reproduction
https://stackblitz.com/edit/vitejs-vite-j9ece2?file=src/App.vue
Steps to reproduce
No response
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: