text: const dotenv = require("dotenv")
  
  if (process.env.NODE_ENV !== "production") {
    dotenv.config()
  }
  
  module.exports = {
    siteMetadata: {
      title: `Cedar Rapids & Marion Resale`,
      description: `Find great deals and perks from local businesses in Cedar Rapids & Marion.`,
      author: `Cedar Rapids & Marion Resale`,
    },
    plugins: [
      `gatsby-plugin-react-helmet`,
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/src/images`,
        },
      },
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: `gatsby-starter-default`,
          short_name: `starter`,
          start_url: `/`,
          background_color: `#663399`,
          theme_color: `#663399`,
          display: `minimal-ui`,
          icon: `src/images/dove-solid.svg`, // This path is relative to the root of the site.
        },
      },
      {
        resolve: `gatsby-source-contentful`,
        options: {
          spaceId: `gi159djm4sh7`,
          accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
        },
      },
      `gatsby-plugin-material-ui`,
    ],
  }
  