Skip to content

Commit d641e56

Browse files
authored
fix(opencode): resolve Bedrock hang by using node build conditions (anomalyco#30873)
1 parent 2b0ced9 commit d641e56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/script/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ for (const item of targets) {
165165
const workerRelativePath = path.relative(dir, parserWorker).replaceAll("\\", "/")
166166

167167
await Bun.build({
168-
conditions: ["browser"],
168+
conditions: ["node"],
169169
tsconfig: "./tsconfig.json",
170170
plugins: [plugin],
171171
external: ["node-gyp"],

0 commit comments

Comments
 (0)