-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
build fails with stack overflow error when resolving root tsconfig.json
extends
#3915
Comments
7 tasks
Thanks for the report. I can reproduce this. Here is a link to the reproduction. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Running
esbuild ./input.ts
in a workspace matching the following conditions fails with stack overflow error:tsconfig.json
.tsconfig.json
extends a sharedtsconfig.json
.tsconfig.json
is exposed via the package.jsonexports
field.tsconfig.json
of its ownNotes
tsconfig.json
files extending one of the shared configs work fine. The issue does not arise until there is a roottsconfig.json
and a workspacetsconfig.json
.extends
(example:../../tsconfig.json
) resolves the issueReproduction
yarn install
yarn build
Additional info
If the
extends
in the roottsconfig.json
is removed, no error happens.If
exports
is removed from thetsconfigs
package and"extends": "tsconfigs/configs/tsconfig.json",
is used instead for thetsconfig.json
invite-demo
package and the roottsconfig.json
, no error happens.Original issue: vitejs/vite#18094
The text was updated successfully, but these errors were encountered: