Skip to content

Commit

Permalink
Update config stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
ezynda3 committed Sep 10, 2024
1 parent fb05f40 commit 3bdeaec
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Binary file modified bun.lockb
Binary file not shown.
12 changes: 11 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
],
})

0 comments on commit 3bdeaec

Please # to comment.