From fc37647a94511c285c93bb0ec57fd0eda7109694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Berg=C3=A9?= Date: Sat, 26 Oct 2024 23:00:46 +0200 Subject: [PATCH] chore: fix browser build --- packages/browser/tsup.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/browser/tsup.config.ts b/packages/browser/tsup.config.ts index ba33e2a..7b59266 100644 --- a/packages/browser/tsup.config.ts +++ b/packages/browser/tsup.config.ts @@ -6,7 +6,7 @@ export default defineConfig({ format: ["esm"], dts: true, env: { - ["process.env.GLOBAL_SCRIPT"]: JSON.stringify( + ["GLOBAL_SCRIPT"]: JSON.stringify( readFileSync("dist/index.global.js", "utf-8"), ), },