GATSBY-CONFIG.JS WITH ENVIRONMENTS require("dotenv").config({ path: .env
, }) module.exports = { plugins: [{ resolve: gatsby-source-contentful
, options: { spaceId: process.env.spaceId, accessToken: process.env.accessToken, host: process.env.host, environments: process.env.environments }, }, ], }