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 declarationMap output #448

Open
1 task
lukasIO opened this issue Nov 30, 2024 · 3 comments
Open
1 task

Support declarationMap output #448

lukasIO opened this issue Nov 30, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@lukasIO
Copy link

lukasIO commented Nov 30, 2024

Describe the feature

I couldn't find a way to make unbuild generate declarationMaps in addition to the types (and regular sourcemaps).
Sorry if I missed this, but would be great to add this to allow "Go to definition" in IDEs to actually jump to the TypeScript source code.

Additional information

  • Would you be willing to help implement this feature?
@lukasIO lukasIO added the enhancement New feature or request label Nov 30, 2024
@drwpow
Copy link

drwpow commented Jan 14, 2025

I’d be willing to help with a PR!

@productdevbook
Copy link

productdevbook commented Feb 5, 2025

Hi, dear @lukasIO. You should set sourcemap: true in build.config to enable sourcemap support. unbuild does not infer from tsconfig.json. #348

@lukasIO
Copy link
Author

lukasIO commented Feb 6, 2025

@productdevbook thanks, but this is about declarationMaps not sourcemaps. I can get sourcemaps to work just fine, but declarationMaps are missing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants