From 8df039d2611685a1f73bdafe34522a22c9918152 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Tue, 18 Aug 2026 10:53:42 -0400 Subject: [PATCH] fix(cli): limit source maps to development channels --- packages/cli/script/build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/script/build.ts b/packages/cli/script/build.ts index a29ec04f85..609327757e 100755 --- a/packages/cli/script/build.ts +++ b/packages/cli/script/build.ts @@ -109,7 +109,7 @@ for (const item of targets) { external: ["node-gyp"], format: "esm", minify: true, - sourcemap: "inline", + sourcemap: Script.channel === "dev" || Script.channel === "local" ? "inline" : "none", splitting: true, compile: { autoloadBunfig: false,