text: const resolveConfig = require('tailwindcss/resolveConfig');
  const tailwindConfig = require('./tailwind.config.js');
  
  const fullConfig = resolveConfig(tailwindConfig);
  
  module.exports = {
    siteMetadata: {
      title: `Netlify CMS Test Site`,
      description: `Gatsby/Tailwind/NetlifyCMS`,
      author: `@ethanrickaby`,
    },
    plugins: [
      `gatsby-plugin-netlify-cms`,
      `gatsby-plugin-eslint`,
      `gatsby-plugin-react-helmet`,
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: `gatsby-starter-tailwind`,
          short_name: `starter`,
          start_url: `/`,
          background_color: fullConfig.theme.colors.white,
          theme_color: fullConfig.theme.colors.green['500'],
          display: `minimal-ui`,
          icon: `src/images/tailwind-icon.png`,
        },
      },
      {
        resolve: `gatsby-plugin-postcss`,
        options: {
          postCssPlugins: [
            require(`tailwindcss`)(tailwindConfig),
            require(`autoprefixer`),
            ...(process.env.NODE_ENV === `production`
              ? [require(`cssnano`)]
              : []),
          ],
        },
      },
      `gatsby-plugin-offline`,
      // MARKDOWN
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          path: `${__dirname}/content/pages`,
          name: `pages`,
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          path: `${__dirname}/content/products`,
          name: `products`,
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          path: `${__dirname}/content/posts`,
          name: `posts`,
        },
      },
      {
        resolve: `gatsby-transformer-remark`,
        options: {
          plugins: [
            {
              resolve: `gatsby-remark-images`,
              options: {
                maxWidth: 630,
              },
            },
            {
              resolve: `gatsby-remark-responsive-iframe`,
              options: {
                wrapperStyle: `margin-bottom: 1.0725rem`,
              },
            },
            `gatsby-remark-prismjs`,
            `gatsby-remark-copy-linked-files`,
            `gatsby-remark-smartypants`,
          ],
        },
      },
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
    ],
  };
  