Closed nwalters512 closed 2 years ago
@nwalters512 Could you also add an entry for this PR in the CHANGELOG under unreleased heading ? With that it should be good to merge.
Hey @nwalters512, would you mind adding this to CHANGELOG.md
and pushing it?
## [Unreleased]
### Fixed
- Let `baseUrl` in tsconfig be an absolute path. See PR [#174](https://github.com/dividab/tsconfig-paths/pull/174). Thanks to @nwalters512!
I'm on it! Thanks for getting this reviewed.
@jonaskello LGTM
configLoader
assumed thatbaseUrl
would always be relative path, but the TypeScript compiler allowsbaseUrl
to be an absolute path as well. This PR updates theconfigLoader
to correctly computeabsoluteBaseUrl
if thebaseUrl
in the TypeScript config file is already absolute.Note that the same thing was already being done if
explicitParams
was provided.