-
Notifications
You must be signed in to change notification settings - Fork 12.8k
TSCONFIG Plugin doesn't trigger when using TSC #60952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is working as intended and documented on the wiki:
The plugins are solely for editors, as suggested by the tsconfig documentation:
|
This is the expected behaviour. Plugins, for now, are only used by the language server. Related issue: #14419 |
I want to use Any luck about this? How can i overrides the tsconfig.json before being used in |
There is no way to do this besides wrapping TS's API or using package like ts-patch. FWIW I would really question the need for any use of |
This issue has been marked as "Working as Intended" and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
🔎 Search Terms
"tsconfig plugin" "tsc"
🕗 Version & Regression Information
⏯ Playground Link
No response
💻 Code
tsconfig.json
:tsserver-plugin
:🙁 Actual behavior
The plugin does not seem to be invoked, and no logging output from the plugin is observed during the compilation.
🙂 Expected behavior
The plugin should trigger during the compilation process, and the logging statement (
"[tsserver-plugin]: called!"
) should appear in the logs.Additional information about the issue
The
tsconfig
plugin does not trigger or function as expected when running thetsc
(TypeScript Compiler) command. Despite being correctly configured intsconfig.json
and implemented as atsserver
plugin, the expected behavior or logging from the plugin does not occur during compilation.Steps to Reproduce
tsconfig.json
to include the plugin as shown above.tsc
in the project directory to compile the code.The text was updated successfully, but these errors were encountered: