environment variables - custom naming maps #10048
Brian-McBride
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be very nice to have some configuration where I can enable my own custom prefixes or just a list of environment variables names.
I get the point of the
NX_
prefix. We don't want to shove everything into Webpack and thus into our front-end. But every damn tool wants to showcase its own prefix.REACT_
,GATSBY_
,MY_BROTHER_FRANK_
and on and on. No hint of standardization.So I end up with a development environment where I'm repeating values so that my emulators can find the right environment setting, my app can find the right environment setting, my server can find the right environment setting... It is just over complexity that isn't needed.
Of course, I've just been hacking my own webpack modification (below, and taken from NX), but it seems that the Regex and/or pick list I've shoved in there could be pulled from a
project.json
setting.Beta Was this translation helpful? Give feedback.
All reactions