Files
dal4segno 04c71be859
Publish GitHub Pages output / publish (push) Canceled after 36s
feat: add ordered song list tool
2026-10-06 11:34:27 +09:00

20 lines
764 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.
// Plugin verification output contains complete project copies, including tsconfigs.
// Watching them also triggers unrelated TypeScript cache resets and full reloads.
watch: {
usePolling: process.env.WATCH_USE_POLLING === 'true',
interval: 1000,
ignored: ['**/output/**', '**/pages-dist/**', '**/offline-dist/**', '**/plugin-dist/**', '**/release/**']
}
}
});