diff --git a/postcss.config.js b/postcss.config.js index 0daed9b..23ffee5 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,18 +1,21 @@ module.exports = { plugins: [ 'tailwindcss', - process.env.NODE_ENV === 'production' + ...(process.env.NODE_ENV === 'production' ? [ - '@fullhuman/postcss-purgecss', - { - content: [ - './pages/**/*.{js,jsx,ts,tsx}', - './components/**/*.{js,jsx,ts,tsx}', - ], - defaultExtractor: content => content.match(/[\w-/:]+(? + content.match(/[\w-/:]+(?