text: /**
   * Configure your Gatsby site with this file.
   *
   * See: https://www.gatsbyjs.com/docs/gatsby-config/
   */
  require('dotenv').config({
    path: `.env.${process.env.NODE_ENV}`
  });
  
  module.exports = {
    siteMetadata: {
      title: "My First Gatsby",
      description: "Learning about Gatsby JS and GraphQl",
      author: "Coding After Thirty",
      data: ["test 1", "test 2", "test 3"],
      person: {
        name: "Paul",
        age: 40,
      },
    },
    plugins: [
      `gatsby-plugin-styled-components`,
      `gatsby-transformer-sharp`, 
      `gatsby-plugin-sharp`,
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/src/images/`,
        },
      },
      {
        resolve: `gatsby-source-contentful`,
        options: {
          spaceId: `l9ylpjmo9srk`,
          // Learn about environment variables: https://gatsby.dev/env-vars
          // accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
          accessToken: process.env.ACCESS_TOKEN,
        },
      },
    ],
  }
  