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("\\", "/")
|
const workerRelativePath = path.relative(dir, parserWorker).replaceAll("\\", "/")
|
||||||
|
|
||||||
await Bun.build({
|
await Bun.build({
|
||||||
conditions: ["browser"],
|
conditions: ["node"],
|
||||||
tsconfig: "./tsconfig.json",
|
tsconfig: "./tsconfig.json",
|
||||||
plugins: [plugin],
|
plugins: [plugin],
|
||||||
external: ["node-gyp"],
|
external: ["node-gyp"],
|
||||||
|
|||||||
Reference in New Issue
Block a user