microsoft / microsoft/TypeScript
compilerOptions.plugins accepts missing plugins without any logging or error information
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 117
Description
🔎 Search Terms
compilerOptions, plugins, missing, module, plugin
🕗 Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about missing plugins
⏯ Playground Link
https://www.typescriptlang.org/play/?#code/MYewdgzgLgBAHjAvDAjAbiA
💻 Code
tsconfig.json:
{
"compilerOptions": {
"plugins": [
{
"name": "missing"
}
]
}
}
🙁 Actual behavior
TypeScript doesn't produce any debugging hints, or an error, if compilerOptions.plugins includes a reference to a missing plugin.
🙂 Expected behavior
When a tsconfig contains a compilerOptions.plugins entry that points to a plugin that could not be found, TypeScript should log or produce an error saying that it couldn't be found.
Additional information about the issue
No response
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
Start with the tsconfig.json example and the compilerOptions.plugins handling, then use the linked Playground case to reproduce the missing-plugin behavior. Done means a missing plugin reference produces the requested logging or error information without silently being ignored.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100