Replies: 1 comment 3 replies
-
Next has built in environment variable support: https://nextjs.org/docs/basic-features/environment-variables But you'd need to build each time you changes the values in your |
Beta Was this translation helpful? Give feedback.
3 replies
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 want to be able to build only once and then set the API endpoints depending on what lies in environment file somewhere.
Or do I really have to build a new bundle for every possible development environment?
P.S
I assume this kind of thing is only possible for pages that are SSR-only?
Beta Was this translation helpful? Give feedback.
All reactions