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"], }); }