16 lines
337 B
TypeScript
16 lines
337 B
TypeScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [sveltekit()],
|
|
server: {
|
|
host: '0.0.0.0',
|
|
port: 5173,
|
|
watch: {
|
|
usePolling: process.env.WATCH_USE_POLLING === 'true',
|
|
interval: 1000,
|
|
ignored: ['**/.svelte-kit/**']
|
|
}
|
|
}
|
|
});
|