detect and warn if `plugin.vue.ts` is used as a name
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 275
- Forks
- 35
- Avg merge
- 4h 42m
- Merged PRs (30d)
- 6
Description
yes, that was it, it's a reserved extension for volar/vue-tsc so it was treated as a virtual file of a non existant vue component (plugin.vue) that generated nothing when generating the d.ts
- @posva
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
No file or test is named. Start by locating the module-builder entry point that handles plugin filenames, then reproduce the case with a file named plugin.vue.ts. Done means the reserved name is detected and a warning is emitted rather than allowing the confusing virtual-file behavior described in the issue.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100