text: module.exports = {
    siteMetadata: {
      title: `Proustibat Gatsby Contentful Recipes`,
      description: 'My site description',
      author: `@proustibat`,
    },
    plugins: [
      `gatsby-plugin-react-helmet`,
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/src/images`,
        },
      },
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: `proustibat-gatsby-contentful-recipes`,
          short_name: `recipes`,
          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`,
      {
        resolve: `gatsby-source-contentful`,
        options: {
          spaceId: process.env.CONTENTFUL_SPACE_ID,
          accessToken: process.env.CONTENTFUL_DELIVERY_API,
        },
      },
      {
        resolve: `gatsby-plugin-react-i18next`,
        options: {
          path: `${__dirname}/src/locales`,
          languages: [`en-US`, `fr-FR`],
          defaultLanguage: `en-US`,
          redirect: true,
          // you can pass any i18next options
          i18nextOptions: {
            interpolation: {
              escapeValue: false, // not needed for react as it escapes by default
            },
            defaultNS: 'translations',
          },
        },
      },
    ],
  };
  