-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Variables are undefined when build in production with Vitejs #347
Comments
@jdinartejesus did you try to pass just the Edit: seems like the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm currently using Vuejs with Vitejs, but when I'm running the build in production, the variables are undefined. Vitejs it's like ReactCreateApp, using the REACT_APP_ prefix, but instead we need to use VITE_ prefix, and even when applying this still doesn't work.
.env-cmdrc.js
package.json:
The text was updated successfully, but these errors were encountered: