Update postcss.config.mjs
All checks were successful
Check / Lint and Check (push) Successful in 40s
All checks were successful
Check / Lint and Check (push) Successful in 40s
This commit is contained in:
@@ -2,27 +2,6 @@
|
|||||||
const config = {
|
const config = {
|
||||||
plugins: {
|
plugins: {
|
||||||
'@tailwindcss/postcss': {},
|
'@tailwindcss/postcss': {},
|
||||||
|
|
||||||
"postcss-flexbugs-fixes": {
|
|
||||||
"postcss-preset-env": {
|
|
||||||
autoprefixer: {
|
|
||||||
flexbox: "no-2009",
|
|
||||||
},
|
|
||||||
stage: 3,
|
|
||||||
features: {
|
|
||||||
"custom-properties": false,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
"@fullhuman/postcss-purgecss": {
|
|
||||||
content: [
|
|
||||||
"./pages/**/*.{js,jsx,ts,tsx}",
|
|
||||||
"./components/**/*.{js,jsx,ts,tsx}",
|
|
||||||
],
|
|
||||||
defaultExtractor: (content) => content.match(/[\w-/:]+(?<!:)/g) || [],
|
|
||||||
safelist: ["html", "body"],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
cssnano: {},
|
cssnano: {},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user