update tailwind to v4

This commit is contained in:
2026-08-27 00:50:55 +00:00
parent a337879875
commit 6452331ee7
7 changed files with 63 additions and 157 deletions

View File

@@ -1,9 +1,15 @@
import { sveltekit } from '@sveltejs/kit/vite';
import tailwindcss from '@tailwindcss/vite';
import { defineConfig } from 'vitest/config';
export default defineConfig({
plugins: [sveltekit()],
plugins: [tailwindcss(), sveltekit()],
test: {
include: ['src/**/*.{test,spec}.{js,ts}']
},
server: {
host: '127.0.0.1',
allowedHosts: ['dev.stanrunge.dev'],
hmr: { host: 'dev.stanrunge.dev', protocol: 'wss', clientPort: 443 }
}
});