-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
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
Handle output file names descripency between tsc --b and actual program emit file path calculation #41811
Conversation
…rootDir, the paths should be calculated from rootDir
b3d20a1
to
555acd6
Compare
Thank you so much for the fix!! Any idea whether it might be in 4.1.3 or not until 4.2.0? |
We would probably want to wait for 4.2 as it is not minor fix and not patch it to 4.1 |
…am emit file path calculation (microsoft#41811) * Baseline showing microsoft#41801 and other issues with output path calculation * Add a way to note descripencies between clean and incremental build * Add descripency when no rootDir is specified but project is composite * if rootDir is specified, irrespective of whether all files belong to rootDir, the paths should be calculated from rootDir * Fix the output file names api to use the correct common source directory * Tests for microsoft#41780 * Spelling
@sheetalkamat I don't see this in the 4.2.0 or 4.2.1 list of issues for those milestones. Can you confirm it made it into either release? |
Yes, I believe this is working in TypeScript 4.2 now. It appears there was a new issue introduced directly in |
tsc -b
that usesgetOutputFileNames
apiFixes tsc --build takes wrong assumption on project rootDir #41801 and getOutputFileNames is returning incorrect path #41780