When compilerOptions.baseUrl is not set, aliases using compilerOptions.path won't work, and there seems to be no way to debug this and figure it out without just reading about aliases in TypeScript and running into this.
It's unfortunate that TypeScript doesn't let the user know that aliases are ignored when baseUrl is not set.
I'm requesting that this information is added to the README of this project :)
When
compilerOptions.baseUrl
is not set, aliases usingcompilerOptions.path
won't work, and there seems to be no way to debug this and figure it out without just reading about aliases in TypeScript and running into this.It's unfortunate that TypeScript doesn't let the user know that aliases are ignored when baseUrl is not set.
I'm requesting that this information is added to the README of this project :)