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

feat(language-core): abstract virtual file name to source file name resolution #94

Merged
merged 5 commits into from
Nov 23, 2023

Conversation

johnsoncodehk
Copy link
Member

Add the resolveSourceFileName API, requiring the integrator to implement the conversion method from virtual file name to source file name.

This will solve the use case of typescript parsing external files and vue-tsc project reference.

cc @blake-newman

@johnsoncodehk johnsoncodehk mentioned this pull request Nov 23, 2023
41 tasks
@blake-newman
Copy link
Contributor

@johnsoncodehk ah this is much more elegant 😁 will test out tomorrow and report back if all working as expected 👍

@johnsoncodehk johnsoncodehk merged commit 0a3fb4a into master Nov 23, 2023
6 checks passed
@johnsoncodehk johnsoncodehk deleted the resolveSourceFileName branch November 23, 2023 21:23
@johnsoncodehk johnsoncodehk restored the resolveSourceFileName branch November 23, 2023 21:23
@johnsoncodehk johnsoncodehk deleted the resolveSourceFileName branch November 23, 2023 21:23
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.

None yet

2 participants