From 4bd84e934c49116a101257d5c57d5d4ee4217ead Mon Sep 17 00:00:00 2001 From: rendianmeng Date: Thu, 23 Jul 2026 17:52:52 +0800 Subject: [PATCH] build: multi channel install test --- tools/release/lib/binary-compile.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/release/lib/binary-compile.mjs b/tools/release/lib/binary-compile.mjs index 92b3e06..250c70a 100644 --- a/tools/release/lib/binary-compile.mjs +++ b/tools/release/lib/binary-compile.mjs @@ -32,6 +32,8 @@ const { entry, outfile, target } = parseArgs(process.argv.slice(2)); const result = await Bun.build({ entrypoints: [entry], + // Bundler defaults to "browser"; CLI needs Node/Bun builtins. + target: "bun", define: { "process.env.BAILIAN_COMPILED": JSON.stringify("1"), },