There was an error while loading. Please reload this page.
2 parents b54a225 + 3df4bb6 commit af7a2a4Copy full SHA for af7a2a4
1 file changed
packages/opencode/script/build-node.ts
@@ -1,6 +1,7 @@
1
#!/usr/bin/env bun
2
3
import { $ } from "bun"
4
+import { Script } from "@opencode-ai/script"
5
import fs from "fs"
6
import path from "path"
7
import { fileURLToPath } from "url"
@@ -63,6 +64,7 @@ await Bun.build({
63
64
external: ["jsonc-parser"],
65
define: {
66
OPENCODE_MIGRATIONS: JSON.stringify(migrations),
67
+ OPENCODE_CHANNEL: `'${Script.channel}'`,
68
},
69
files: {
70
"opencode-web-ui.gen.ts": "",
0 commit comments