diff options
| author | Dax Raad <[email protected]> | 2025-10-21 15:32:24 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-10-21 15:32:24 -0400 |
| commit | d9a8d2032a5002f84de7cf669c5155d4550a639d (patch) | |
| tree | ebfb0d3218c3891e21cea4281d750067df22fe57 /packages | |
| parent | d7cdabe8b75fd5ff88f10bfb3c6415aa24a8c364 (diff) | |
| download | opencode-d9a8d2032a5002f84de7cf669c5155d4550a639d.tar.gz opencode-d9a8d2032a5002f84de7cf669c5155d4550a639d.zip | |
fix sourcemapping so errors show proper stack trace
Diffstat (limited to 'packages')
| -rwxr-xr-x | packages/opencode/script/build.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/script/build.ts b/packages/opencode/script/build.ts index 80255c4a8..feb91e09b 100755 --- a/packages/opencode/script/build.ts +++ b/packages/opencode/script/build.ts @@ -40,7 +40,7 @@ for (const [os, arch] of targets) { await $`tar -xf ../../node_modules/${watcher.replace("@parcel/", "parcel-")}-*.tgz -C ../../node_modules/${watcher} --strip-components=1` await Bun.build({ - sourcemap: true, + sourcemap: "external", compile: { target: `bun-${os}-${arch}` as any, outfile: `dist/${name}/bin/opencode`, |
