Skip to content

Fix Sentry sourcemap build in deploy workflows - #140

Merged
owens1127 merged 1 commit into
mainfrom
fix-sentry-sourcemap-build
Jun 14, 2026
Merged

Fix Sentry sourcemap build in deploy workflows#140
owens1127 merged 1 commit into
mainfrom
fix-sentry-sourcemap-build

Conversation

@owens1127

Copy link
Copy Markdown
Contributor

Summary

  • Fix bun build failing with external sourcemaps by using --outdir and --target=bun instead of --outfile
  • Run Sentry CLI via bunx instead of npx to match the Bun-based CI setup

Test plan

  • bun build --target=bun --sourcemap=external ./src/index.ts --outdir ./dist succeeds locally
  • bunx @sentry/cli sourcemaps inject ./dist succeeds locally
  • Deploy workflow passes on merge

Made with Cursor

Use --outdir with --sourcemap=external and run Sentry CLI via bunx instead of npx.

Co-authored-by: Cursor <cursoragent@cursor.com>
@barecheck

barecheck Bot commented Jun 14, 2026

Copy link
Copy Markdown

Barecheck - Code coverage report

Total: 90.92%

Your code coverage diff: 0.00% ▴

✅ All code changes are covered

@owens1127
owens1127 merged commit aac855e into main Jun 14, 2026
7 checks passed
@owens1127
owens1127 deleted the fix-sentry-sourcemap-build branch June 14, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant