Skip to content

Commit 113586c

Browse files
committed
Take full advantage of tailwind v4.
1 parent 9377e7a commit 113586c

File tree

5 files changed

+11
-75
lines changed

5 files changed

+11
-75
lines changed

browser-extension/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,16 @@
1818
"devDependencies": {
1919
"@biomejs/biome": "^2.1.2",
2020
"@playwright/test": "^1.46.0",
21-
"@tailwindcss/postcss": "^4.1.13",
21+
"@tailwindcss/vite": "^4.1.13",
2222
"@testing-library/jest-dom": "^6.6.4",
2323
"@types/express": "^4.17.21",
2424
"@types/har-format": "^1.2.16",
2525
"@types/node": "^22.16.5",
2626
"@vitejs/plugin-react": "^5.0.2",
2727
"@vitest/coverage-v8": "^3.2.4",
2828
"@vitest/ui": "^3.2.4",
29-
"autoprefixer": "^10.4.21",
3029
"express": "^4.19.2",
3130
"linkedom": "^0.18.12",
32-
"postcss": "^8.5.6",
3331
"tailwindcss": "^4.1.13",
3432
"tsx": "^4.19.1",
3533
"typescript": "^5.8.3",

browser-extension/postcss.config.cjs

Lines changed: 0 additions & 6 deletions
This file was deleted.

browser-extension/tailwind.config.cjs

Lines changed: 0 additions & 10 deletions
This file was deleted.

browser-extension/wxt.config.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
import { defineConfig } from 'wxt'
22
import react from '@vitejs/plugin-react'
3+
import tailwindcss from '@tailwindcss/vite'
34
import path from 'path'
45

56
export default defineConfig({
67
vite: () => ({
7-
plugins: [react()],
8-
css: {
9-
postcss: path.resolve('./postcss.config.cjs')
10-
},
8+
plugins: [react(), tailwindcss()],
119
resolve: {
1210
alias: {
1311
'@': path.resolve('./src')

pnpm-lock.yaml

Lines changed: 8 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)