text: const {
    NODE_ENV,
    URL: NETLIFY_SITE_URL = 'https://suspicious-kare-a97fe6.netlify.com',
    DEPLOY_PRIME_URL: NETLIFY_DEPLOY_URL = NETLIFY_SITE_URL,
    CONTEXT: NETLIFY_ENV = NODE_ENV
  } = process.env;
  const isNetlifyProduction = NETLIFY_ENV === 'production';
  const siteUrl = isNetlifyProduction ? NETLIFY_SITE_URL : NETLIFY_DEPLOY_URL;
  
  module.exports = {
    siteMetadata: {
      title: 'Ship Cars',
      author: 'ship.cars',
      description: 'Ship cars.',
      siteUrl
    },
    plugins: [
      {
        resolve: 'gatsby-source-filesystem',
        options: {
          name: 'images',
          path: `${__dirname}/src/images`
        }
      },
      {
        resolve: 'gatsby-source-filesystem',
        options: {
          name: 'blog',
          path: `${__dirname}/blog/`
        }
      },
      'gatsby-plugin-react-helmet',
      'gatsby-plugin-sass',
      'gatsby-transformer-sharp',
      'gatsby-transformer-remark',
      'gatsby-plugin-sharp',
      'gatsby-plugin-netlify-cms',
      {
        resolve: 'gatsby-plugin-sitemap',
        options: {
          sitemapSize: 5000
        }
      },
      {
        resolve: 'gatsby-plugin-robots-txt',
        options: {
          resolveEnv: () => NETLIFY_ENV,
          env: {
            production: {
              policy: [{ userAgent: '*' }]
            },
            'branch-deploy': {
              policy: [{ userAgent: '*', disallow: ['/'] }],
              sitemap: null,
              host: null
            },
            'deploy-preview': {
              policy: [{ userAgent: '*', disallow: ['/'] }],
              sitemap: null,
              host: null
            }
          }
        }
      },
      {
        resolve: `gatsby-plugin-google-analytics`,
        options: {
          //trackingId: `ADD YOUR TRACKING ID HERE`,
        },
      },
      {
        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'
    ]
  };
  