Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Is it possible to have working sourcemaps with Bun single-file executable? #17859

Unanswered
mwstr asked this question in Q&A
Discussion options

Sourcemaps generated by Bun already have debugIds. But I have no idea how to upload them to Sentry

I'm building it with such script:

import { build } from 'bun'
await build({
 entrypoints: ['src/index.ts'],
 compile: {
 outfile: 'server',
 },
 minify: {
 syntax: true,
 whitespace: true,
 },
 sourcemap: 'inline',
})
You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /