Skip to content
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

L-1016 By default, don't check ENV vars in Vercel preview/development env #14

Merged
merged 4 commits into from
Nov 23, 2023

Conversation

PetrHeinz
Copy link
Member

Resolves #6 when building project via vercel build by not running the ENV var check when VERCEL_ENV is either development or preview (similarly to #12).

(Also prevents build warning in example project.)

Copy link
Contributor

@curusarn curusarn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PetrHeinz Could you please use an actual Vercel project to test this? 🙏
Just to make sure that vercel builds actually go though without the warning.

Looks good, thanks!

@PetrHeinz PetrHeinz merged commit 77224e7 into main Nov 23, 2023
14 checks passed
@PetrHeinz PetrHeinz deleted the ph/vercel-env-check branch November 23, 2023 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to hide build warnings for local development
2 participants