Files
HolodoriCalc/vite.config.ts
T
dal4segno dd37f59565
Publish GitHub Pages output / publish (push) Successful in 30s
feat: add Holo-work tracking, teams and board bonuses
2026-09-12 15:16:30 +09:00

18 lines
567 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,
ignored: ['**/output/**', '**/pages-dist/**', '**/offline-dist/**', '**/release/**']
}
}
});