web-infra-dev / web-infra-dev/rslib
[Feature]: bundle declarationMap
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1k
- Forks
- 67
- Avg merge
- 6h 9m
- Merged PRs (30d)
- 57
Description
What problem does this feature solve?
https://www.typescriptlang.org/tsconfig/#declarationMap
It's crucial for using rslib in monorepo that nearly all IDE (VS Code, JetBrains, etc.) relies on this to provide a correct "jump to definition" feature
What does the proposed API look like?
I think it's enough that just add a declarationMap: true option to output config.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no repository files or tests; start by locating the output configuration handling and reading the linked TypeScript declarationMap documentation. Done means the output configuration accepts declarationMap: true and bundled declarations provide the source mapping needed for IDE jump-to-definition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100