add alternative of runTime Config #45705
Cabagemage
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
-
Describe the feature you'd like to request
I see that RunTime config considered as legacy and doesnt work with some of cool features that Next.js provides to developers.
So, we have a choice to use environment variables only on build time, and it makes us to create build everytime when we need new environment. As example, we have development/stage/production standes. Its very expensive to keep all builds on our infrastructure and we should use runTime config, which have legacy status to use less of memory. We don't like legacy, but we like ability to set envs dynamically
Describe the solution you'd like
Provide us analogue of runTime Config with support all Next.js features
Describe alternatives you've considered
I can't imagine how to make it to be honest, because I'm not deep diven in Next.js code base, but if you have an option to do this, it'll be very cool
Beta Was this translation helpful? Give feedback.
All reactions