fix: Update npm to latest version and fix Tailwind v4 PostCSS configuration
- Install @tailwindcss/postcss for Tailwind v4 compatibility - Update postcss.config.js to use new Tailwind PostCSS plugin - Update npm to latest version in backend Dockerfile - Fixes build failures with Next.js 16.1.6 and Tailwind CSS v4.2.0
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
"typescript": "^5.9.3",
|
||||
"tailwindcss": "^4.2.0",
|
||||
"postcss": "^8.5.6",
|
||||
"autoprefixer": "^10.4.24"
|
||||
"autoprefixer": "^10.4.24",
|
||||
"@tailwindcss/postcss": "^4.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module.exports = {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
'@tailwindcss/postcss': {},
|
||||
autoprefixer: {},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user