chore: use postcss instead of tailwind vite

This commit is contained in:
Rotimi Best
2025-11-25 23:18:42 +01:00
parent e0e3c8a01e
commit 5cc8c47b72
4 changed files with 174 additions and 15 deletions
+1 -2
View File
@@ -2,7 +2,6 @@ import { defineConfig, loadEnv } from 'vite';
import fs from 'fs';
import { sveltekit } from '@sveltejs/kit/vite';
import tailwindcss from '@tailwindcss/vite';
export default ({ mode }) => {
process.env = { ...process.env, ...loadEnv(mode, process.cwd()) };
@@ -15,7 +14,7 @@ export default ({ mode }) => {
}
}
},
plugins: [tailwindcss(), sveltekit()],
plugins: [sveltekit()],
server: getServer(process.env),
build: {
sourcemap: false