diff --git a/vite.config.ts b/vite.config.ts index bbf8c7d..c23d340 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -2,5 +2,10 @@ import { sveltekit } from '@sveltejs/kit/vite'; import { defineConfig } from 'vite'; export default defineConfig({ - plugins: [sveltekit()] + plugins: [sveltekit()], + build: { + rollupOptions: { + external: [/^node:.*/] + } + } });