Closed
Description
I am trying to manage my tsconfigs by keeping them in a repo/subrepo, and was hoping this would work:
{
"extends": "my-config-repo/tsconfig.standard",
"compilerOptions": { }
}
But I get
tsconfig.json(2,14): error TS18001: A path in an 'extends' option must be relative or rooted, but 'my-config-repo/tsconfig.standard' is not.
Is there some reason why the path given to extends
, if neither relative nor absolute, could not be searched for using the node_modules
lookup rules?
(I would also like multiple extends, but I suppose there was some reason for not doing that, and that would be another ticket anyway.)