tspath
tspath copied to clipboard
Doesn't work with paths declared in an extended tsconfig.json
If you declare your paths in a tsconfig.base.json somewhere else and use "extends": "../tsconfig.base.json", the paths aren't picked up...
Hi there, Yes that is correct, it does not currently support inheritance, great that you brought that to my attention again, that´s one of those things that needs to be supported in the upcoming 2.x version, have you made any attempts to implement this yourself or is this simply a feature request :)
Den fre 8 feb. 2019 kl 01:10 skrev Maximilian Friedmann < [email protected]>:
If you declare your paths in a tsconfig.base.json somewhere else and use "extends": "../tsconfig.base.json", the paths aren't picked up...
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/duffman/tspath/issues/25, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAy_xhh9MNT_tfLEwEClQO0xAY6GeRSks5vLMCKgaJpZM4arD33 .
Actually, that was only one of many problems, so we moved our source code bases around and don't need the paths anymore. Extending tsconfigs and using paths + rootDirs also really messes up the IDE Intellisense, we got some really bad suggestions for importing modules from VSCode :(