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: support extends when parsing tsconfig.json file #1

Merged
merged 2 commits into from
Mar 3, 2024

Conversation

lyohaplotinka
Copy link
Contributor

I discovered that if there is "extends" in tsconfig.json, like:

{
  "extends": "../../tsconfig.json"
}

then plugin does not resolve source config. It can be fixed with ts.parseJsonConfigFileContent.

@herberttn herberttn changed the title Fix: load extended tsconfig.json Add extends support when parsing tsconfig.json file Mar 3, 2024
@herberttn
Copy link
Owner

@lyohaplotinka nice, thanks!

@herberttn herberttn changed the title Add extends support when parsing tsconfig.json file Support extends when parsing tsconfig.json file Mar 3, 2024
@herberttn herberttn merged commit 77f507d into herberttn:main Mar 3, 2024
4 checks passed
@herberttn herberttn changed the title Support extends when parsing tsconfig.json file feat: support extends when parsing tsconfig.json file Mar 3, 2024
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.

2 participants