Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom .env vars not accessable? #123

Open
archae0pteryx opened this issue Dec 5, 2017 · 1 comment
Open

custom .env vars not accessable? #123

archae0pteryx opened this issue Dec 5, 2017 · 1 comment

Comments

@archae0pteryx
Copy link

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

@archae0pteryx archae0pteryx changed the title custom .env vars no accessable? custom .env vars not accessable? Dec 5, 2017
@demersdesigns
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants