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

fix(vue-tsc): prevent rebuild in incremental mode throwing error #3556

Merged

Conversation

blake-newman
Copy link
Member

Fix rebuilding in incremental mode with tsbuildinfo file causing error.

Secondary rebuilds cause the following error:

Error: Debug Failure. False expression: Paths must either both be absolute or both be relative

This is caused because the mapping of the exportedModules looks for __vls__ file id, but this has been removed in the other patches. This new patch filters this file which is virtual and removes it before mapping. This prevents the error occurring on rebuilds and composite mode.

resolves: #3345
resolves: #2622

@blake-newman blake-newman force-pushed the blake.newman/fix-incremental-mode branch 2 times, most recently from f8e819a to 38521b8 Compare September 12, 2023 08:23
Fix rebuilding in incremental mode with tsbuildinfo file causing error.
@blake-newman blake-newman force-pushed the blake.newman/fix-incremental-mode branch from 38521b8 to f4c7a20 Compare September 12, 2023 08:38
@johnsoncodehk johnsoncodehk merged commit 8eb0bb7 into vuejs:master Sep 12, 2023
3 checks passed
@johnsoncodehk
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build failed, error thrown Throw an error when composite is enabled
2 participants