add configs

This commit is contained in:
2024-09-03 20:43:41 +02:00
parent fe280a599b
commit ee28592634
5 changed files with 3147 additions and 14 deletions

View File

@ -2,6 +2,29 @@
const config = {
plugins: {
tailwindcss: {},
autoprefixer: {},
"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: {},
},
};