Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"@libsql/client": "^0.15.15",
"@libsql/kysely-libsql": "^0.4.1",
"@rollup/plugin-replace": "^6.0.1",
"@tailwindcss/postcss": "^4.1.13",
"@testing-library/react": "^16.3.0",
"@types/react": "^19.1.13",
"@types/react-dom": "^19.1.9",
Expand Down
2 changes: 1 addition & 1 deletion dashboard/postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
plugins: {
tailwindcss: {},
'@tailwindcss/postcss': {},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

🧩 Analysis chain

Switched to '@tailwindcss/postcss' — required for Tailwind v4. LGTM.

Config shape is valid ESM under "type":"module".

Run to ensure no other packages still use the old tailwindcss PostCSS plugin:


🏁 Script executed:

#!/bin/bash
# Find all PostCSS configs and flag legacy plugin usage.
set -euo pipefail
fd -H -a -t f 'postcss.config.*' | while read -r f; do
  echo "== $f =="
  rg -nC2 -P "(tailwindcss:|require\\(['\"]tailwindcss['\"]\\))|@tailwindcss/postcss" "$f" || true
done

Length of output: 304


Update examples/react-router/postcss.config.js to use '@tailwindcss/postcss'
examples/react-router/postcss.config.js still contains tailwindcss: {} (line 3); replace it with @tailwindcss/postcss: {} so all PostCSS configs use the Tailwind v4 plugin.

🤖 Prompt for AI Agents
In dashboard/postcss.config.js around line 3, the PostCSS config uses the old
key `tailwindcss: {}`; update that entry to use the Tailwind v4 plugin key
`@tailwindcss/postcss: {}` so the file matches other PostCSS configs. Replace
the `tailwindcss` property name with `@tailwindcss/postcss` and keep the same
config object contents.

autoprefixer: {},
},
};
Loading