Skip to content

Commit 9a6a408

Browse files
Fix Tailwind CSS v4 PostCSS plugin configuration
- Add @tailwindcss/postcss dependency - Update postcss.config.js to use @tailwindcss/postcss plugin instead of tailwindcss Co-authored-by: Marco Acierno <[email protected]>
1 parent 3c98bdd commit 9a6a408

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
"devDependencies": {
6767
"@biomejs/biome": "1.9.4",
6868
"@python-italia/eslint-config": "^1.0.13",
69+
"@tailwindcss/postcss": "^4.1.12",
6970
"@tailwindcss/typography": "^0.5.9",
7071
"@testing-library/dom": "^8.1.0",
7172
"@testing-library/jest-dom": "^5.14.1",

frontend/postcss.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
plugins: {
3-
tailwindcss: {},
3+
'@tailwindcss/postcss': {},
44
autoprefixer: {},
55
},
66
};

0 commit comments

Comments
 (0)