KEMBAR78
Add support for configuration inheritance via packages by weswigham · Pull Request #27348 · microsoft/TypeScript · GitHub
Skip to content

Conversation

@weswigham
Copy link
Member

Fixes #18865

return extendedConfigPath;
}
// If the path isn't a rooted or relative path, resolve like a module
const resolved = nodeModuleNameResolver(extendedConfig, combinePaths(basePath, "tsconfig.json"), { moduleResolution: ModuleResolutionKind.NodeJs }, host, /*cache*/ undefined, /*lookupConfig*/ true);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no way to traceResolution this. Ideally we would want to flow that option here (esp when invoked from command prompt)? To ensure users are able to find out whats going on when resolving tsconfig.json?

@weswigham weswigham added this to the TypeScript 3.2 milestone Oct 5, 2018
@weswigham
Copy link
Member Author

Ping @sheetalkamat I wired through tracing; anything else?

@weswigham weswigham merged commit 05716a7 into microsoft:master Oct 25, 2018
@weswigham weswigham deleted the config-inheritance-through-modules branch October 25, 2018 17:20
@mightyiam
Copy link

I'm thrilled. Where can I see the documentation for this, please?

@kristianmandrup
Copy link

Awesome! Hope to see this in the next release!!! :D

sebald added a commit to sebald/unscripted that referenced this pull request Feb 22, 2019
evocateur added a commit to evocateur/load-tsconfig that referenced this pull request May 16, 2022
evocateur added a commit to evocateur/load-tsconfig that referenced this pull request May 16, 2022
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants