text: var dotenv = require("dotenv");
  dotenv.config();
  
  const { spaceId, accessToken, snipcart } = process.env;
  
  module.exports = {
    siteMetadata: {
      title: `OneShopper`,
      description: `A starter for a e-commerce powered by Gatsby and Flotiq`,
      author: `@flotiq`,
    },
    plugins: [{
        "resolve": "gatsby-source-flotiq",
        "options": {
          "baseUrl": process.env.GATSBY_FLOTIQ_BASE_URL,
          "authToken": process.env.FLOTIQ_API_KEY,
          "forceReload": false,
          "includeTypes": ['product', '_media', 'category']
        },
      },
      `gatsby-plugin-react-helmet`,
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/src/images`,
        },
      },
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      `gatsby-transformer-remark`,
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: `OneShopper`,
          short_name: `starter`,
          start_url: `/`,
          background_color: `#4DB58E`,
          theme_color: `#4DB58E`,
          display: `minimal-ui`,
          icon: `src/images/icon.png`,
        },
      },
      {
        resolve: "gatsby-plugin-snipcart",
        options: {
          apiKey: process.env.SNIPCART_API_KEY,
          autopop: true,
        },
      },
    ],
  }
  