text: const resolveConfig = require("tailwindcss/resolveConfig");
  const tailwindConfig = require("./tailwind.config.js");
  
  const fullConfig = resolveConfig(tailwindConfig);
  
  module.exports = {
    siteMetadata: {
      title: `NoahJohnson Dev`,
      description: `My personal portfolio!`,
      author: `@jnoahjohnson`,
    },
    plugins: [
      `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.teal["400"],
          display: `minimal-ui`,
          icon: `src/images/tailwind-icon.png`,
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          path: `${__dirname}/src/blog-posts`,
          name: `markdown-pages`,
        },
      },
      `gatsby-transformer-remark`,
      {
        resolve: `gatsby-plugin-postcss`,
        options: {
          postCssPlugins: [
            require(`tailwindcss`)(tailwindConfig),
            require(`autoprefixer`),
            ...(process.env.NODE_ENV === `production`
              ? [require(`cssnano`)]
              : []),
          ],
        },
      },
      `gatsby-plugin-offline`,
    ],
  };
  