Open olemarius opened 1 year ago
As vite-plugin-checker is only a binding of vue-tsc to Vite. I tested in my demo project and find in vue-tsc: ^1.0.14
, exclude files in src
works and skipLibCheck
should also work as mentioned in https://github.com/johnsoncodehk/volar/issues/2018#issuecomment-1281802717. Any minimal re-production is welcomed.
Is your feature request related to a problem? Please describe.
I've been trying to exclude the code generated by swagger-codegen, which generates a typescript-axios api from a .net core webapi, but it seems vite-plugin-checker includes anything that's referenced, regardless of exclude rules in tsconfig.
A way to exclude a folder, or at least exclude node_modules folder.
In vite.config.ts:
My tsconfig looks like this:
Normally we would generate this code to /src/services/webapi/, but I've also tried publishing the api to a private npm package and install it as a dependecy, but even when in node_modules it's still flooding the terminal with errors.
ERROR(vue-tsc)
ERROR(Typescript)
Describe the solution you'd like
Exclude option (with glob pattern support)
Describe alternatives you've considered
No response
Additional context
No response
Validations