Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support inlineSourceMap and inlineSources in TSConfig #8620

Open
TomasHubelbauer opened this issue Feb 1, 2024 · 0 comments
Open

Support inlineSourceMap and inlineSources in TSConfig #8620

TomasHubelbauer opened this issue Feb 1, 2024 · 0 comments
Labels
bun.js Something to do with a Bun-specific API enhancement New feature or request transpiler parser || printer

Comments

@TomasHubelbauer
Copy link

What is the problem this feature would solve?

I am using Bun's Transpiler to transpile TypeScript to JavaScript on the fly. I would like the browser to be able to recover the original source code in the debugger for which TypeScript's inlineSourceMap and inlineSources compiler configuration keys can be used. These are not currently supported by Bun's Transpiler, bu Build.build can produce artifacts with source maps so I believe it shouldn't be too much work to support inlineSourceMap on Transpiler.

What is the feature you are proposing to solve the problem?

Implement inlineSourceMap and inlineSources for Transpiler.

What alternatives have you considered?

No response

@TomasHubelbauer TomasHubelbauer added the enhancement New feature or request label Feb 1, 2024
@Electroid Electroid added transpiler parser || printer bun.js Something to do with a Bun-specific API labels Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bun.js Something to do with a Bun-specific API enhancement New feature or request transpiler parser || printer
Projects
None yet
Development

No branches or pull requests

2 participants