dividab / tsconfig-paths

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

fix(tsconfig-loader): fix baseUrl when extends with paths relative to node_modules #172

Closed zorji closed 2 years ago

zorji commented 3 years ago

https://github.com/dividab/tsconfig-paths/pull/106 added support for tsconfig extends from paths relative to node_modules.

However, when paths relative to node_modules is used, the baseUrl is not build correctly. This patch fixes the baseUrl.