dividab / tsconfig-paths

Load node modules according to tsconfig paths, in run-time or via API.
MIT License
1.8k stars 100 forks source link

feat: support omit `tsconfig.json` suffix when extends package #203

Open F3n67u opened 2 years ago

F3n67u commented 2 years ago

fix https://github.com/dividab/tsconfig-paths/issues/182

extends resolve algorithm is borrowed from esbuild resolver.

https://github.com/evanw/esbuild/blob/2244c09f6abee489158240942871a10807e54800/internal/resolver/resolver.go#L858