text: /**
   * Configure your Gatsby site with this file.
   *
   * See: https://www.gatsbyjs.org/docs/gatsby-config/
   */
  
  require('dotenv').config({
    path: `.env.${process.env.NODE_ENV}`
  })
  
  module.exports = {
    siteMetadata: {
      title: 'Mi sitio con gatsby-js',
      author: 'Roger Rengifo'
    },
    plugins: [
      `gatsby-plugin-sass`,
      `gatsby-plugin-react-helmet`,
      {
        resolve: 'gatsby-source-contentful',
        options: {
          spaceId: process.env.CONTENTFUL_SPACE_ID,
          accessToken: process.env.CONTENTFUL_ACCESS_TOKEN
        }
      },
      { 
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `src`,
          path: `${__dirname}/src/`,
        }
      },
      `gatsby-plugin-sharp`,
      {
        resolve: `gatsby-transformer-remark`,
        options: {
          plugins: [
            `gatsby-remark-relative-images`,
            {
              resolve: `gatsby-remark-images`,
              options: { maxWidth: 750, linkImagesToOriginal: false }
            }
          ]
        }
      }
    ]
  }
  