Support declarations generation after transform
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 432
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Requires https://github.com/unjs/obuild/pull/34
Output files coming from these
mkdistloaders that are marked asdeclaration: truewill be set todeclaration: "generate"so we can collect them before writing the output and run the declarations emit altogether.
Originally posted by @zsilbi in https://github.com/unjs/obuild/issues/34#issuecomment-2920037950
For Vue SFC:
i think we can have the fallback transformer as mkdist did, since vue-tsc is not support allowArbitraryExtensions yet.
Originally posted by @Teages in https://github.com/unjs/obuild/issues/34#issuecomment-2919130902
Contributor guide
No contributing guide indexed for this repository
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
Start by reviewing the required obuild pull request 34 and the mkdist loader behavior described in this issue. Trace how transformed output marked for declaration generation is collected and emitted, including the Vue SFC fallback; done means declarations are generated after transformation and Vue SFC handling remains supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100