fix(opencode): resolve Bedrock hang by using node build conditions (#30873)
This commit is contained in:
@@ -165,7 +165,7 @@ for (const item of targets) {
|
||||
const workerRelativePath = path.relative(dir, parserWorker).replaceAll("\\", "/")
|
||||
|
||||
await Bun.build({
|
||||
conditions: ["browser"],
|
||||
conditions: ["node"],
|
||||
tsconfig: "./tsconfig.json",
|
||||
plugins: [plugin],
|
||||
external: ["node-gyp"],
|
||||
|
||||
Reference in New Issue
Block a user