-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fails to resolve tsconfig.json extends
by exports
field when using yarn pnp
#3698
Comments
7 tasks
Thanks for the report. I can reproduce this. Here's a link to this reproduction on esbuild's playground (mostly for myself): |
This was referenced May 21, 2024
This was referenced May 28, 2024
This was referenced May 29, 2024
This was referenced Jun 2, 2024
This was referenced Jun 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When a
tsconfig.json
has extends and that uses exports field to be resolved and using yarn pnp, esbuild fails to resolve the base tsconfig file. The following warning is output.By running
yarn show-config
inpackages/app
, I can see TypeScript resolving it without issue.If I set
nodeLinker: pnpm
ornodeLinker: node-modules
, esbuild does not output any warnings.Reproduction: https://github.com/sapphi-red-repros/esbuild-yarn-pnp-tsconfig-extends-exports-field-repro
Original issue: vitejs/vite#16156
The text was updated successfully, but these errors were encountered: