mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 00:12:11 +00:00
fix sourcemapping so errors show proper stack trace
This commit is contained in:
parent
d7cdabe8b7
commit
d9a8d2032a
1 changed files with 1 additions and 1 deletions
|
|
@ -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`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue