text: /**
   * Configure your Gatsby site with this file.
   *
   * See: https://www.gatsbyjs.org/docs/gatsby-config/
   */
  
  require("dotenv").config({
    path: `.env.${process.env.NODE_ENV}`,
  })
  
  // eslint-disable-next-line no-undef
  module.exports = {
    /* Your site config here */
    siteMetadata: {
      title: "Gatsby Tutorial",
      description: "This is the description",
      author: "CHAD",
      data: ["item1", "item2e"],
      person: { name: "john", age: 32 },
    },
  
    plugins: [
      "gatsby-transformer-sharp",
      "gatsby-plugin-sharp",
      {
        resolve: "gatsby-plugin-styled-components",
        options: {
          // Add any options here
        },
      },
      {
        resolve: "gatsby-source-filesystem",
        options: {
          name: "images",
          path: `${__dirname}/src/images/`,
        },
      },
      {
        resolve: "gatsby-source-filesystem",
        options: {
          name: "posts",
          path: `${__dirname}/src/posts/`,
        },
      },
      {
        resolve: `gatsby-source-contentful`,
        options: {
          spaceId: process.env.SPACE_ID,
          // Learn about environment variables: https://gatsby.dev/env-vars
          accessToken: process.env.ACCESS_TOKEN,
        },
      },
    ],
  }
  