dominikg / tsconfck

A utility to find and parse tsconfig files without depending on typescript
Other
293 stars 14 forks source link

feat(find): ignore tsconfig.json inside node_modules #123

Closed dominikg closed 1 year ago

dominikg commented 1 year ago

see https://github.com/vitejs/vite/pull/14234#issuecomment-1704676336

follow esbuilds lead and ignore tsconfig.json in node_modules when finding config files.

Add option {scanNodeModules: true} to search inside node_modules as well.

dominikg commented 1 year ago

Note that the test for findNative currently fails because it does not skip node_modules.