-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[cli] Removing VERCEL_ENV in vercel@34.2.0 is a breaking change #11633
Comments
Running into this as well using SvelteKit! Environment variables are statically replaced when imported from My solution for now is to create a You can alternatively make a |
I'm sorry this broke your builds! Can you tell me more about how you depend on My thinking is that it is more consistent to just not have any system environment variables in local dev. Most of them have meaningless values, and the ones that do have meaningful values can be replicated through other means. |
@onsclom Let's remove if this can be handled on |
Our app depends on the
VERCEL_ENV="development"
to be set in local dev mode.Publishing the change as a minor change breaks a lot of things. I think it should had been released as a major (breaking) change.
It is really convenient to have access to VERCEL_ENV in dev mode. I vote for adding it back.
Workaround: For now we have locked the cli to vercel@34.1.14 to fix it, eg
vercel@34.1.14 env pull
.I am a big fan of Vercel, keep up the good work!
Ref
The text was updated successfully, but these errors were encountered: