Transforms module resolution paths using TypeScript path mapping and/or custom paths
Added accommodation for changes to latest TS dev build and further stabilized resolution strategy