mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-25 15:24:58 +00:00
core: add Node.js runtime support
Enable running opencode on Node.js by adding platform-specific database adapters and replacing Bun-specific shell execution with cross-platform Process utility.
This commit is contained in:
6
packages/opencode/script/build-node.ts
Normal file
6
packages/opencode/script/build-node.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
await Bun.build({
|
||||
target: "node",
|
||||
entrypoints: ["./src/node.ts"],
|
||||
outdir: "./dist",
|
||||
format: "esm",
|
||||
})
|
||||
Reference in New Issue
Block a user