text: require("dotenv").config({
    path: `.env.${process.env.NODE_ENV}`,
  })
  
  module.exports = {
    siteMetadata: {
      siteName: 'Lambay Shop',
    },
    plugins: [
      'gatsby-plugin-sass',
      'gatsby-plugin-react-helmet',
      {
        resolve: `gatsby-source-datocms`,
        options: { apiToken: process.env.DATO_API_TOKEN },
      },
      {
        resolve: 'gatsby-plugin-snipcart',
        options: {
          apiKey: process.env.SNIPCART_API_TOKEN ,
          // auto popup for shopping cart when an item is added
          autopop: false
        }
      },
    ],
  }
  