tspath icon indicating copy to clipboard operation
tspath copied to clipboard

Doesn't work with paths declared in an extended tsconfig.json

Open maxfriedmann opened this issue 6 years ago • 2 comments

If you declare your paths in a tsconfig.base.json somewhere else and use "extends": "../tsconfig.base.json", the paths aren't picked up...

maxfriedmann avatar Feb 08 '19 00:02 maxfriedmann

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 .

duffman avatar Feb 10 '19 04:02 duffman

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 :(

maxfriedmann avatar Feb 10 '19 08:02 maxfriedmann