import adapter from '@sveltejs/adapter-static'; import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; /** @type {import('@sveltejs/kit').Config} */ const config = { preprocess: vitePreprocess(), compilerOptions: (id) => { if (id && id.includes('node_modules')) { return { runes: false, // Disable runes for external dependencies that might not support it yet (lucide-svelte) }; } return { runes: true, }; }, kit: { adapter: adapter({ pages: 'build', assets: 'build', fallback: 'index.html', precompress: false, strict: true, }), }, }; export default config;