kitze / custom-react-scripts

[DEPRECATED, use customize-cra] Allow custom config for create-react-app without ejecting
https://custom-react-scripts.netlify.com
MIT License
993 stars 97 forks source link

custom .env vars not accessable? #123

Open archae0pteryx opened 6 years ago

archae0pteryx commented 6 years ago

Am i missing something? Adding vars to either .env or .env.local are not available via process.env?

demersdesigns commented 6 years ago

I think you need to add REACT_APP_ to the beginning of your var name. REACT_APP_VAR=foobar