18 lines
563 B
TypeScript
Executable File
18 lines
563 B
TypeScript
Executable File
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
import { defineConfig } from 'vitest/config';
|
|
import Icons from 'unplugin-icons/vite';
|
|
import { enhancedImages } from '@sveltejs/enhanced-img';
|
|
|
|
export default defineConfig({
|
|
plugins: [tailwindcss(), enhancedImages(), sveltekit(), Icons({ compiler: 'svelte' })],
|
|
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 }
|
|
}
|
|
});
|