mirror of
https://github.com/modelstudioai/cli.git
synced 2026-09-14 19:49:23 +08:00
build: multi channel install test
This commit is contained in:
@@ -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"),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user