DEV Community

Discussion on: Static site with Next.js, Contentful & Netlify

Collapse
5ervant profile image
Mark Anthony B. Dungo

Whenever I created this ".env" file:

VARIABLE_NAME=variableName

And access it with process.env.VARIABLE_NAME, I'm getting undefined variable.