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
Note: Defining environment variables in this manner is temporary for the life of the shell session. Setting permanent environment variables is outside the scope of these docs.
I went on to find my own solution using node-forman but still thought it was sub-optimal*. Is the CRA-team open to leverage dotenv and integrate this in react-scripts (for development)?
Happy to open a PR but wanted to discuss upfront if 👍 or 👎
* I didn't really like wrapping all scripts in a shell script that loads the env variables
The text was updated successfully, but these errors were encountered:
Currently Create React App supports environment variables however it leaves some of it to the user's imagination:
I went on to find my own solution using node-forman but still thought it was sub-optimal*. Is the CRA-team open to leverage dotenv and integrate this in
react-scripts
(for development)?Happy to open a PR but wanted to discuss upfront if 👍 or 👎
* I didn't really like wrapping all scripts in a shell script that loads the env variables
The text was updated successfully, but these errors were encountered: