diff --git a/svelte.config.js b/svelte.config.js index 46f138c..2b19c68 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -4,6 +4,16 @@ 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({