text: // TODO: dear user, please change this to your own instance
  const netlifyInstance = "https://ima-mapping.netlify.app"
  if (netlifyInstance === "https://ima-mapping.netlify.app") {
    console.warn(`
  
  **************************
  WARNING: currently using Netlify Identity of https://ima-mapping.netlify.app
  
  this is only meant for the working demo. if you forked or copied this code, you won't have access to this netlify identity instance
  
  Go to your site, enable Netlify Identity, and paste that string here
  
  
  More docs: https://www.netlify.com/docs/identity/
  
  **************************
  `)
  }
  
  require("dotenv").config({
    path: '.env',
  })
  
  module.exports = {
    siteMetadata: {
      title: "IMA World Map",
      description: `Kick off your next, great Gatsby app.`,
      author: `@swyx`,
    },
  
    plugins: [
      `gatsby-plugin-react-helmet`,
      {
        resolve: `gatsby-plugin-create-client-paths`,
        options: { prefixes: [`/app/*`] },
      },
      {
        resolve: `gatsby-plugin-netlify-identity`,
        options: {
          url: netlifyInstance,
        },
      },
      {
        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/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`,
    ],
  }
  