summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/opencode/script/build.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/opencode/script/build.ts b/packages/opencode/script/build.ts
index 5a6ac2584..a85fde9e2 100755
--- a/packages/opencode/script/build.ts
+++ b/packages/opencode/script/build.ts
@@ -117,6 +117,9 @@ for (const item of targets) {
compile: {
autoloadBunfig: false,
autoloadDotenv: false,
+ //@ts-ignore (bun types aren't up to date)
+ autoloadTsconfig: true,
+ autoloadPackageJson: true,
target: name.replace(pkg.name, "bun") as any,
outfile: `dist/${name}/bin/opencode`,
execArgv: [`--user-agent=opencode/${Script.version}`, "--"],