text: require("dotenv").config()
  const linkResolver = require("./src/utils/linkResolver")
  
  module.exports = {
    siteMetadata: {
      title: `Gatsby Default Starter`,
      description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`,
      author: `@gatsbyjs`,
    },
    plugins: [
      {
        resolve: `gatsby-source-shopify`,
        options: {
          apiKey: process.env.SHOPIFY_API_KEY,
          password: process.env.SHOPIFY_SHOP_PASSWORD,
          storeUrl: process.env.SHOPIFY_STORE_URL,
        },
      },
      {
        resolve: `gatsby-source-prismic`,
        options: {
          repositoryName: process.env.PRISMIC_REPO,
          accessToken: process.env.PRISMIC_ACCESS_TOKEN,
          linkResolver: () => linkResolver,
          schemas: {
            homepage: require("./custom_types/homepage.json"),
            page: require("./custom_types/page.json"),
          },
        },
      },
      `gatsby-plugin-react-helmet`,
      `gatsby-plugin-image`,
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/src/images`,
        },
      },
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: `Skate Shop`,
          short_name: `SS`,
          start_url: `/`,
          background_color: `#000000`,
          theme_color: `#000000`,
          display: `standalone`,
          icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site.
        },
      },
      // this (optional) plugin enables Progressive Web App + Offline functionality
      // To learn more, visit: https://gatsby.dev/offline
      `gatsby-plugin-offline`,
    ],
  }
  