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

Broken with TS version 5.5.2 ? #270

Open giacomorebonato opened 2 months ago

giacomorebonato commented 2 months ago

I just upgraded to TypeScript 5.5.2 and it seems that this plugin is not working anymore. The paths are not getting replaced.

mikegwhit commented 3 weeks ago

i was having this issue: https://github.com/dividab/tsconfig-paths/issues/222 and this comment https://github.com/dividab/tsconfig-paths/issues/222#issuecomment-1272791309 resolved in conjunction with TS_NODE_PROJECT

we use: TS_NODE_BASEURL=dist/src/ TS_NODE_PROJECT=tsconfig.json node -r tsconfig-paths/register dist/src/index