text: const dotenv = require('dotenv')
  
  if (process.env.NODE_ENV !== 'production') {
    dotenv.config()
  }
  
  module.exports = {
    siteMetadata: {
      title: `Velice`,
      description: `Najlepsia zmrzlina na Novej`,
      author: `Velice`,
    },
    plugins: [
      `gatsby-plugin-react-helmet`,
      {
        resolve: `gatsby-source-contentful`,
        options: {
          spaceId: process.env.SPACE_ID,
          accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
        },
      },
    ],
  }
  