Skip to content

Commit b0ca9c6

Browse files
committed
chore: use @tailwindcss/vite instead of postcss
1 parent 4411e2a commit b0ca9c6

File tree

4 files changed

+133
-112
lines changed

4 files changed

+133
-112
lines changed

package-lock.json

+127-101
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"usehooks-ts": "^3.1.0"
4343
},
4444
"devDependencies": {
45-
"@tailwindcss/postcss": "^4.0.14",
45+
"@tailwindcss/vite": "^4.1.4",
4646
"@types/react": "^18.2.43",
4747
"@types/react-dom": "^18.2.17",
4848
"@vitejs/plugin-react": "^4.3.4",
@@ -52,7 +52,6 @@
5252
"eslint-plugin-react-hooks": "^5.2.0",
5353
"eslint-plugin-react-refresh": "^0.4.19",
5454
"globals": "^16.0.0",
55-
"postcss": "^8.4.32",
5655
"prettier": "^3.5.3",
5756
"tailwindcss": "^4.0.14",
5857
"vite": "^6.2.6"

postcss.config.js

-5
This file was deleted.

vite.config.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import { defineConfig } from 'vite'
2-
import react from '@vitejs/plugin-react'
1+
import { defineConfig } from "vite";
2+
import react from "@vitejs/plugin-react";
3+
import tailwindcss from "@tailwindcss/vite";
34

45
// https://vitejs.dev/config/
56
export default defineConfig({
6-
plugins: [react()],
7-
})
7+
plugins: [tailwindcss(), react()],
8+
});

0 commit comments

Comments
 (0)