Skip to content

Commit 1254497

Browse files
committed
fix: switch to vite for tailwind
1 parent fd5f0db commit 1254497

File tree

4 files changed

+12
-25
lines changed

4 files changed

+12
-25
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"@gtm-support/vue-gtm": "^3.1.0",
3434
"@sentry/vite-plugin": "^4.9.1",
3535
"@sentry/vue": "^10.38.0",
36+
"@tailwindcss/vite": "^4.1.18",
3637
"@terraformer/wkt": "^2.2.1",
3738
"@unhead/vue": "^2.1.4",
3839
"element-plus": "^2.13.2",
@@ -59,7 +60,6 @@
5960
"@biomejs/biome": "^2.3.14",
6061
"@commitlint/cli": "^20.4.1",
6162
"@commitlint/config-conventional": "^20.4.1",
62-
"@tailwindcss/postcss": "^4.1.18",
6363
"@total-typescript/ts-reset": "^0.6.1",
6464
"@tsconfig/node-lts": "^22.0.4",
6565
"@tsconfig/node22": "^22.0.5",
@@ -76,7 +76,6 @@
7676
"knip": "^5.83.1",
7777
"lefthook": "^2.1.0",
7878
"npm-run-all2": "^8.0.4",
79-
"postcss": "^8.5.6",
8079
"schema-dts": "^1.1.5",
8180
"tailwindcss": "^4.1.18",
8281
"typescript": "^5.9.3",

pnpm-lock.yaml

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

postcss.config.js

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

vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import { fileURLToPath, URL } from 'node:url';
22
import { sentryVitePlugin } from '@sentry/vite-plugin';
3+
import tailwindcss from '@tailwindcss/vite';
34
import vue from '@vitejs/plugin-vue';
45
import { defineConfig } from 'vite';
56
import vueDevTools from 'vite-plugin-vue-devtools';
67

78
// https://vite.dev/config/
89
export default defineConfig(({ mode }) => ({
9-
plugins: [vue(), vueDevTools(), mode === 'production' ? sentryVitePlugin() : undefined],
10+
plugins: [vue(), vueDevTools(), tailwindcss(), mode === 'production' ? sentryVitePlugin() : undefined],
1011

1112
resolve: {
1213
alias: {

0 commit comments

Comments
 (0)