custom-react-scripts icon indicating copy to clipboard operation
custom-react-scripts copied to clipboard

custom .env vars not accessable?

Open archae0pteryx opened this issue 7 years ago • 1 comments

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

archae0pteryx avatar Dec 05 '17 00:12 archae0pteryx

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

demersdesigns avatar Jun 15 '18 17:06 demersdesigns