16 lines
416 B
TypeScript
Executable File
16 lines
416 B
TypeScript
Executable File
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
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 }
|
|
}
|
|
});
|