chore: convert postcss config

This commit is contained in:
he3als
2025-07-11 12:58:41 +01:00
parent 5f551155e9
commit a9ad4df56b
3 changed files with 11 additions and 14 deletions

View File

@@ -15,7 +15,7 @@ const gitignorePath = fileURLToPath(new URL('.gitignore', import.meta.url));
export default defineConfig([
includeIgnoreFile(gitignorePath),
{
ignores: ['public/**', 'postcss.config.*'],
ignores: ['public/**'],
},
{
files: ['**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],

View File

@@ -1,13 +0,0 @@
module.exports = {
plugins: [
require('postcss-import'),
require('@tailwindcss/postcss'),
require('autoprefixer'),
// Breaks Tailwind V4?
// require('postcss-preset-env')({
// features: {
// 'nesting-rules': false,
// },
// }),
],
};

10
postcss.config.js Normal file
View File

@@ -0,0 +1,10 @@
/** @type {import('postcss-load-config').Config} */
const config = {
plugins: {
'postcss-import': {},
'@tailwindcss/postcss': {},
autoprefixer: {},
},
};
export default config;