text: require("dotenv").config({
    path: `.env.${process.env.NODE_ENV}`,
  })
  
  module.exports = {
    siteMetadata: {
      title: `Coffee Shop Addict`,
      description: `Start your day with a buzz`,
      author: `@codingaddict`,
    },
    plugins: [
      `gatsby-plugin-sass`,
      `gatsby-plugin-react-helmet`,
      {
        resolve: "gatsby-source-contentful",
        options: {
          spaceId: process.env.CONTENTFUL_SPACE_ID,
          accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
        },
      },
      {
        resolve: "gatsby-plugin-snipcartv3",
        options: {
          apiKey: process.env.GATSBY_SNIPCART_APIKEY,
          autopop: true,
        },
      },
      {
        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/logo.svg`,
        },
      },
    ],
  }
  