trackevery-day/postcss.config.mjs

32 lines
688 B
JavaScript
Raw Permalink Normal View History

2024-09-03 19:42:30 +02:00
/** @type {import('postcss-load-config').Config} */
const config = {
plugins: {
tailwindcss: {},
2024-09-03 20:43:41 +02:00
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: {},
2024-09-03 19:42:30 +02:00
},
};
export default config;