text: const path = require(`path`);
  const resolveConfig = require(`tailwindcss/resolveConfig`);
  const tailwindConfig = require(`./tailwind.config.js`);
  const fullConfig = resolveConfig(tailwindConfig);
  require(`dotenv`).config({ path: `.env` });
  
  module.exports = {
    siteMetadata: {
      title: `Andrew Novac`,
      description: `The home page of Andrew Novac, one of many! A software developer currently living in Toronto, Canada.`,
      author: `Andrew Novac`,
      siteUrl: `https://novac.dev`,
    },
    plugins: [
      {
        resolve: `gatsby-plugin-canonical-urls`,
        options: {
          siteUrl: `https://novac.dev`,
        },
      },
      {
        resolve: `gatsby-plugin-google-analytics`,
        options: {
          trackingId: process.env.GA_TRACKING_ID,
        },
      },
      `gatsby-plugin-sitemap`,
      {
        resolve: `gatsby-plugin-robots-txt`,
        options: {
          host: `https://novac.dev`,
          sitemap: `https://novac.dev/sitemap.xml`,
          policy: [{ userAgent: `*`, allow: `/` }],
        },
      },
      `gatsby-plugin-eslint`,
      `gatsby-plugin-react-helmet`,
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: `Andrew Novac`,
          short_name: `Andrew Novac`,
          start_url: `/`,
          background_color: fullConfig.theme.colors.white,
          theme_color: fullConfig.theme.colors.white,
          display: `standalone`,
          icon: `src/images/icon.png`,
          cache_busting_mode: `none`,
        },
      },
      {
        resolve: `gatsby-plugin-offline`,
        options: {
          workboxConfig: {
            globPatterns: [`**/*`],
          },
        },
      },
      {
        resolve: `gatsby-plugin-google-fonts`,
        options: {
          fonts: [`Fira Sans:400,600`],
          display: `swap`,
        },
      },
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: path.join(__dirname, `src`, `images`),
        },
      },
      `gatsby-transformer-remark`,
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `markdown`,
          path: path.join(__dirname, `src`, `markdown`),
        },
      },
      `gatsby-transformer-json`,
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `data`,
          path: path.join(__dirname, `src`, `data`),
        },
      },
      {
        resolve: `gatsby-plugin-postcss`,
        options: {
          postCssPlugins: [
            require(`tailwindcss`)(tailwindConfig),
            require(`autoprefixer`),
            ...(process.env.NODE_ENV === `production`
              ? [require(`cssnano`)]
              : []),
          ],
        },
      },
      {
        resolve: `gatsby-plugin-purgecss`,
        options: {
          tailwind: true,
          purgeOnly: [`src/css/tailwind.css`],
        },
      },
    ],
  };
  