Skip to content

expanding environment variables on Vercel #8579

Answered by amyegan
joggienl asked this question in Help
Discussion options

You must be logged in to vote

Hey 👋 The original solution is still valid, but I want to share an update with links to some related docs. Next.js, and some other frameworks, will automatically expand $ variables in your .env* files.

There are likely many possible ways to reach the same goal. If the recommended strategy doesn't work for your particular app or workflow, you can try some of the other ideas shared in vercel/next.js#16429. If you find a different solution, let us know what worked best for you!

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
10 replies
@joggienl
Comment options

@T99
Comment options

@iamarpitpatidar
Comment options

@julietgar
Comment options

@Wazbat
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by amyegan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
6 participants