bun
bun copied to clipboard
Sourcemaps should contain `sourceMappingURL`
What version of Bun is running?
0.6.10
What platform is your computer?
macos
What steps can reproduce the bug?
Currently no source maps are working when using sourcemaps: 'external'
. sourceMappingURL
is not appended.
It also breaks stacktrace-gps
package which requires this.
Confirm via Developer Resources
in DevTools: https://developer.chrome.com/docs/devtools/developer-resources/
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
sourcemap=inline
seems to be doing nothing as well (doesn't append the base64 comment to the file)
I've run into this bug too. Source maps don't seem to be working at all no matter what I try. I'm on macOS, x86, and Bun v1.0.7.
same issue here - it seems also doubles the entires in map while external option
{ "version": 3, "sources": ["../src/main.ts", "../src/main.ts"], "sourcesContent": [