aleclarson / vite-tsconfig-paths

Support for TypeScript's path mapping in Vite
MIT License
1.28k stars 45 forks source link

add skip setting #146

Open Akiyamka opened 2 months ago

Akiyamka commented 2 months ago

In monorepos it usefull to exclude big parts of repository that not related to vite Resolves #147

Akiyamka commented 3 weeks ago

Is there a reason you wouldn't want node_modules and .git directories to always be skipped even when skip is defined?

I was thinking of this api as a way to override the default behavior as is common in builder configurations like webpack.
However, in my case I am completely satisfied with the option that this api only allows to expand this list without the possibility to remove .git, node_modules from it. 
If this option is better for you, I'll change the behavior. 

Sorry about readme, fixed