Setting appRoot by combining project root and outDir
The appRoot value is now based on the project root path and the value set in outDir, without taking into consideration the value in baseUrl.
In this way tspath calculates the dir to parse as the tsc transpiler does.
Thanks for making the pr, that's exactly what I have been doing in my local version for quite some time now. Really hope this gets merged into master soon.
This have been an issue for many of you :) I have to admit I have been a bit slow/lazy since this was originally crafted for my own local project structure :)
I will make sure this feature will be included in the next release, which is real soon, there are a number of other features that need to be committed as well!
Thanks guys for your contributions!
A fix for the problem regarding the rel dist folder is available in v 1.3.5,