Skip to content

Commit

Permalink
🐛 fix: Fix global already defined (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
honzabubenik authored Apr 23, 2024
1 parent a3d4708 commit e88fb31
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ export default defineConfig({
nodePolyfills({
// Whether to polyfill `node:` protocol imports.
protocolImports: true,

globals: {
global: false,
},
}),

dts({ rollupTypes: true }),
Expand Down

0 comments on commit e88fb31

Please sign in to comment.