19 lines
432 B
JavaScript
19 lines
432 B
JavaScript
|
module.exports = {
|
||
|
plugins: [
|
||
|
'tailwindcss',
|
||
|
process.env.NODE_ENV === 'production'
|
||
|
? [
|
||
|
'@fullhuman/postcss-purgecss',
|
||
|
{
|
||
|
content: [
|
||
|
'./pages/**/*.{js,jsx,ts,tsx}',
|
||
|
'./components/**/*.{js,jsx,ts,tsx}',
|
||
|
],
|
||
|
defaultExtractor: (content) => content.match(/[\w-/:]+(?<!:)/g) || [],
|
||
|
},
|
||
|
]
|
||
|
: undefined,
|
||
|
'postcss-preset-env',
|
||
|
],
|
||
|
};
|