mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-23 22:34:53 +00:00
This enables running the opencode server on standard Node.js runtimes without requiring Bun-specific APIs. Users can now deploy the server in more environments including standard Node.js containers and cloud platforms that don't support Bun.
9 lines
124 B
TypeScript
Executable File
9 lines
124 B
TypeScript
Executable File
#!/usr/bin/env bun
|
|
|
|
Bun.build({
|
|
entrypoints: ["./src/node.ts"],
|
|
target: "node",
|
|
outdir: "./dist",
|
|
format: "esm",
|
|
})
|