From 22254a18d1e472a20bc944df1622c6ce943b1e66 Mon Sep 17 00:00:00 2001 From: Kai Leddy Date: Mon, 9 Dec 2024 12:07:08 +0000 Subject: [PATCH] fix: Remove React from the Bundle --- tsup.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsup.config.ts b/tsup.config.ts index d9a86f2..ebb34a8 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -91,7 +91,7 @@ export default defineConfig(async (options) => { format: ["esm"], target: BROWSER_TARGET, platform: "browser", - external: globalPreviewPackages, + external: [...globalPreviewPackages, "react"], }); }