Environment variables in Gatsby can be placed:
- In client-side JavaScript through environment configuration files, as we’ve seen in previous sections
- In server-side Node.js implementations via infrastructure providers like Netlify, operating systems, or command-line executions of NPM scripts
Let’s take a closer look at client-side environment variables and server-side environment variables in turn.
Leave a Reply