text: module.exports = {
    siteMetadata: {
      title: 'Test Title',
    },
    plugins: [
      'gatsby-plugin-react-helmet',
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/src/images`,
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `src`,
          path: `${__dirname}/src/`,
        },
      },
      {
        resolve: 'gatsby-source-filesystem',
        options: {
          name: 'static/img',
          path: `${__dirname}/static/img`,
        },
      },
      {
        resolve: 'gatsby-transformer-remark',
        options: {
          plugins: [
            'gatsby-plugin-sharp',
            {
              resolve: 'gatsby-remark-images',
              options: {
                maxWidth: 400,
              },
            },
          ],
        },
      },
      'gatsby-transformer-sharp',
      `gatsby-plugin-netlify-cms`,
      `gatsby-plugin-styled-components`,
      // {
      //   resolve: `gatsby-plugin-typography`,
      //   options: {
      //     pathToConfigModule: `src/utils/typography`,
      //   },
      // },
      {
        resolve: `@gatsby-contrib/gatsby-plugin-elasticlunr-search`,
        options: {
          // Fields to index
          fields: [`title`, `author`, `tags`, `category`, `slug`],
          // How to resolve each field`s value for a supported node type
          resolvers: {
            // For any node of type MarkdownRemark, list how to resolve the fields` values
            MarkdownRemark: {
              title: node => node.frontmatter.title,
              author: node => node.frontmatter.author,
              tags: node => node.frontmatter.tags,
              category: node => node.frontmatter.category,
              slug: node => node.fields.slug,
            },
          },
        },
      },
  
      // this (optional) plugin enables Progressive Web App + Offline functionality
      // To learn more, visit: https://gatsby.app/offline
      // 'gatsby-plugin-offline',
    ],
  };
  