nuxt / nuxt/module-builder

detect and warn if `plugin.vue.ts` is used as a name

Open
#764 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.