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

tsconfig extends module references not supported #144

Open
5 tasks done
holvi-sebastian opened this issue Jul 27, 2024 · 0 comments
Open
5 tasks done

tsconfig extends module references not supported #144

holvi-sebastian opened this issue Jul 27, 2024 · 0 comments

Comments

@holvi-sebastian
Copy link

Describe the bug

When extending a tsconfig that is referenced with module syntax, without the /tsconfig.json filename, unplugin-swc fails to load the tsconfig.

The problem is with load-tsconfig not correctly handling the (otherwise valid) case. I have opened a PR to fix this issue in that repo: egoist/load-tsconfig#27

After its merged, unplugin-swc should update its load-tsconfig version.

Reproduction

https://github.com/holvi-sebastian/load-tsconfig/tree/support-module-references-in-extends

System Info

n/a

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
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

No branches or pull requests

1 participant