You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
process.env does not expose its keys as expected #795
I've been working on a solution for the env vars issue on the Heroku buildpack. The ability to enumerate process.env entries will directly contribute to that solution 😄🍻
Activity
tbillington commentedon Sep 29, 2016
If it's not there it will be undefined, your could write it like this.
gaearon commentedon Sep 29, 2016
I think this might be possible to fix if we use
form instead of
like we do now.
Would you like to give it a try and maybe submit a PR?
The relevant code is in
packages/react-scripts/config/env.js.(It gets imported from webpack configs in
packages/react-scripts/config.)The contributing instructions are here.
thien-do commentedon Sep 30, 2016
Hey @gaearon I can do this.
thien-do commentedon Sep 30, 2016
Please check the PR above. I hope it is what you explained
gaearon commentedon Sep 30, 2016
Fixed in #807.
mars commentedon Oct 12, 2016
This is amazing to find already merged!
I've been working on a solution for the env vars issue on the Heroku buildpack. The ability to enumerate
process.enventries will directly contribute to that solution 😄🍻fson commentedon Oct 12, 2016
This is going to be included in 0.7.0, which will be out soon.