Files
HolodoriCalc/vite.config.ts
T
dal4segno 50421280fa
Publish GitHub Pages output / publish (push) Successful in 53s
feat: add random song tool with level filters and shareable history
2026-09-10 21:33:43 +09:00

17 lines
475 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,
// SvelteKit excludes build output itself, but must watch generated route modules.
// Ignoring all of .svelte-kit leaves cached page imports pointing at old route IDs.
watch: {
usePolling: process.env.WATCH_USE_POLLING === 'true',
interval: 1000
}
}
});