TypeScript Path Alias Resolver
⚠️ Important! There have been reports of shaky behaviour when tspath is run with node 9.x, I am looking into the issue, if one of you who reported it happened to see where the problem occurs, please share :)
Everyone working in a TypeScript project that grows beyond a certains limit will eventually experience the situation commonly described as path hell, the snippet below is an example of such hell.
By specifying path aliases in tsconfig.json you can use that alias to form an "absolute path"
Below is the sample example but with Path Aliases instead of relative paths added, as you can see, the readability have improved significantly!
So, simply run:
Yes, that´s it, really!
Say bye bye to the relative path hell!