This repository was archived by the owner on Jun 11, 2022. It is now read-only.
This repository was archived by the owner on Jun 11, 2022. It is now read-only.
Undefined REACT_APP custom environment variables #5
Closed
Description
Thanks for creating this buildpack, extremely useful and much appreciated!
With the release of react-scripts 0.2.3 it seems like we should have access to environment variables that start with REACT_APP. I confirmed locally that this is the case, but when I deploy to heroku and use config:set to define say REACT_APP_EXAMPLE_VARIABLE, process.env.REACT_APP_EXAMPLE_VARIABLE is undefined.
I'm not sure if this is an issue with the buildpack or create-react-app, but just wanted to bring it up in case anyone has some insight into this.
Metadata
Metadata
Assignees
Labels
No labels