text: require("dotenv").config({
    path: `.env.${process.env.NODE_ENV}`,
  }),
    (module.exports = {
      siteMetadata: {
        title: "The year of the 7b",
        description:
          "A blog about my journey to reach a higher level in climbing",
        author: "@kissmate89",
      },
      plugins: [
        "gatsby-plugin-postcss",
        "gatsby-plugin-react-helmet",
        {
          resolve: "gatsby-source-filesystem",
          options: {
            name: "images",
            path: `${__dirname}/src/images`,
          },
        },
        {
          resolve: "gatsby-plugin-react-svg",
          options: {
            rule: {
              include: `${__dirname}/src/images/`,
            },
          },
        },
        "gatsby-plugin-sharp",
        "gatsby-transformer-sharp",
        "gatsby-plugin-image",
        {
          resolve: "gatsby-plugin-manifest",
          options: {
            name: "The year of the 7b",
            short_name: "7b",
            start_url: "/",
            background_color: "#2B3333",
            theme_color: "#5CCACA",
            display: "minimal-ui",
            icon: "src/images/logo_circle.svg", // This path is relative to the root of the site.
          },
        },
        {
          resolve: "gatsby-source-contentful",
          options: {
            spaceId: "ue2kj8671j6d",
            // Learn about environment variables: https://gatsby.app/env-vars
            host: "cdn.contentful.com",
            accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
            environment: "prod-1",
          },
        },
        {
          resolve: "gatsby-plugin-google-fonts",
          options: {
            fonts: ["Raleway:400,600", "Vollkorn:400,600"],
          },
        },
        {
          resolve: "gatsby-transformer-remark",
        },
        "gatsby-plugin-remove-serviceworker",
      ],
    })
  