Log NEXT_PUBLIC_*
env vars in console build output
#13433
malimccalla
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an app that runs in three different environments: test, development and production. At build time, in my Docker image, I dynamically set some variables using inlined environment variables dependant on the environment.
I would love to be able to see these values printed to the console with my build output. This would give me peace of mind that the correct values have been set. (I accidentally deployed my app to staging using
http://localhost:4000
as my api endpoint 😅).I imagine it would look something like this
Beta Was this translation helpful? Give feedback.
All reactions