Skip to content

Commit

Permalink
Fix vite rollup config
Browse files Browse the repository at this point in the history
  • Loading branch information
kiritowu committed Jan 8, 2024
1 parent 69f902e commit f55973f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:.*/]
}
}
});

0 comments on commit f55973f

Please sign in to comment.