From 0b6aca3e941dfe92ef31533f96e1a985bb04322c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Buben=C3=ADk?= Date: Tue, 23 Apr 2024 15:22:29 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20Fix=20global=20already=20?= =?UTF-8?q?defined?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index 99ce447..02eea5b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -66,6 +66,10 @@ export default defineConfig({ nodePolyfills({ // Whether to polyfill `node:` protocol imports. protocolImports: true, + + globals: { + global: false, + }, }), dts({ rollupTypes: true }),