We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is first of many optimizations done for building 800+ reference projects cc @MLoughry as its coming from the repro he provided
Note this caching is currently only for building first time, In the watch mode, we need to reset the cache correctly which isn't done yet for anything really, Given that set is minimal it should be ok for now but that would be handled as part of api creation.
Sorry, something went wrong.
Reuse map if module resolution is same for redirected and own files
3264b64
Share module resolution cache among different program
93b958e
Accept API changes
9bb8373
Does this benefit --incremental users at all?
--incremental
@DanielRosenwasser little bit but not much (if their project contained references and references had same options as the project being compiled, it will)
94ee0dc
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
@sheetalkamat would it be reasonable to expose this function in the public API? That would allow API users to reuse their ModuleResolutionCache until changes in CompilerOptions require a new cache.
Sure. Note that this only compares CompilerOptions and not changes in directory structure which could affect the module resolution.
RyanCavanaugh RyanCavanaugh approved these changes
ajafff ajafff left review comments
Successfully merging this pull request may close these issues.