You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently tsconfig-paths fails in case tsconfig.json does not declared "paths" settings.
It will be better to display a meaningful warning or error message instead.
The text was updated successfully, but these errors were encountered:
I've implemented it as warning message in version 2.1.2.
If tsconfig.json or paths in compilerOptions is missing it will show a warning message and will not patch Module._load. So it would work as ts-node without tsconfig-paths.
But if baseUrl is missing from compilerOptions we will also show a warning message but typescript itself will throw an exception about missing the baseUrlproperty.
Currently
tsconfig-paths
fails in casetsconfig.json
does not declared "paths" settings.It will be better to display a meaningful warning or error message instead.
The text was updated successfully, but these errors were encountered: