fix(opencode): resolve Bedrock hang by using node build conditions (#30873)

This commit is contained in:
alberto 2026-06-05 09:22:58 -05:00 committed by GitHub
parent 48106b7e78
commit 1e216e12dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"],