In my express.js typescript project, I've added custom paths to my express tsconfig.json file like this:
Then I'm importing my files with absolute custom path with no error like this:
But after building the project with tsc
command, the import string in my built .js
file is the exact same string as .ts
file and my import path mapping is not working.