TypeScript path alias resolver, re-writes JS files with relative paths according to @paths specified in tsconfig