module.exports = {
  plugins: [
    require('postcss-easy-import'),
    require('tailwindcss'),
    require('@fullhuman/postcss-purgecss')({
      content: ['./pages/**/*.js', './components/**/*.js'],
      defaultExtractor: content => content.match(/[A-Za-z0-9-_:/]+/g) || [],
    }),
    require('autoprefixer'),
    require('cssnano'),
  ],
}

module.exports = {
  plugins: [
    require('postcss-easy-import'),
    require('tailwindcss'),
    require('@fullhuman/postcss-purgecss')({
      content: [
        './pages/**/*.{js,jsx,ts,tsx}',
        './components/**/*.{js,jsx,ts,tsx}',
      ],
      defaultExtractor: content => content.match(/[A-Za-z0-9-_:/]+/g) || [],
    }),
    require('autoprefixer'),
    require('cssnano'),
  ],
}

Update purgecss search path (#9432)