text: require('dotenv').config({
    path: `.env.${process.env.NODE_ENV}`
  })
  
  module.exports = {
    siteMetadata: {
      title: "travellroads",
      description: "Explore awesome tours & what makes each of them unique.",
      author: "@don_koce",
    },
    plugins: [
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/src/images/`,
        },
      },
      {
        resolve: `gatsby-source-contentful`,
        options: {
          spaceId: process.env.CONTENTFUL_SPACE_ID,
          accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
        },
      },
      `gatsby-transformer-sharp`, 
      `gatsby-plugin-sharp`,
      `gatsby-plugin-sass`,
      `gatsby-plugin-styled-components`,
      `gatsby-plugin-transition-link`,
    ],
  }
  