diff --git a/bun.lockb b/bun.lockb index 9e88507..d0c52df 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/vite.config.ts b/vite.config.ts index ec916a0..5fcc8d4 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -3,5 +3,15 @@ import { defineConfig } from 'vite' import { nodePolyfills } from 'vite-plugin-node-polyfills' export default defineConfig({ - plugins: [nodePolyfills(), sveltekit()], + plugins: [ + nodePolyfills({ + include: ['path', 'stream', 'util'], + globals: { + Buffer: true, + global: true, + process: true, + }, + }), + sveltekit(), + ], })