DEV Community

Discussion on: How to implement '.env' variables in Gatsby and React

Collapse
 
wiredentrepreneur profile image
Raj

Good write up! Helped me out with sorting our env variables in a Gatsby project. one thing though is that I did not prefix each env variable with GATSBY_. From my understanding prefix is only required if you need these values at build time.