Skip to content
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

Build mode handling of emitDeclarationOnly has not been generalized to cover noEmit #45476

Open
amcasey opened this issue Aug 16, 2021 · 1 comment
Labels
Domain: Performance Reports of unusually slow behavior Domain: tsc -b Issues related to build mode

Comments

@amcasey
Copy link
Member

amcasey commented Aug 16, 2021

Discovered while investigating #45082 - when stack.ts is updated, the rebuild reason (as of fe7962a) is Status.OutputMissing because the .js, .js.map, .d.ts, and .d.ts.map files don't exist. The immediate cause is that getAllProjectOutputs is returning too many values, but the fix probably belongs deeper, e.g. in getOutputJSFileName and getEmitDeclarations (which might have unforeseen consequences).

I am not presently aware of a resulting correctness problem.

@amcasey amcasey added Domain: Performance Reports of unusually slow behavior Domain: tsc -b Issues related to build mode labels Aug 16, 2021
@deftomat
Copy link

deftomat commented Oct 4, 2021

Any news on this? Should we expect to have this fixed in the next few releases?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Domain: Performance Reports of unusually slow behavior Domain: tsc -b Issues related to build mode
Projects
None yet
Development

No branches or pull requests

2 participants