-
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
Reconsider reading from multiple tsconfig.json files #402
Comments
My rationale for supporting multiple |
I see. For scenarios that involve bundling across multiple TS projects, how do you imagine that being structured in practice? At least for the case of one TS project directly importing another, wouldn't any imports across project boundaries potentially break
In this case, I'm wondering if there are bundling scenarios involving multiple tsconfigs that will never break |
I have decided to suppress this warning inside |
@evanw looks like, this warning is still present in bazel environments, since somehow esbuild/internal/helpers/path.go Line 5 in 025d64e
Should I create separate issue? |
I'm closing this in favor of #3019, which is more comprehensive and which is a discussion that includes the TypeScript team itself. |
Some packages such as
react-dnd-touch-backend
publish atsconfig.json
, which is causing esbuild to log a warning because the tsconfig references a JSON file that doesn't exist.The very latest version of
react-dnd-touch-backend
now prevents thetsconfig.json
from being included in the published package, but this raises the question of why this is even being parsed and inspected by esbuild in the first place. It's worth noting that in my case, the TypeScript loader has not been enabled and no.ts
source files are being referenced.Is this a bug? I know
tsconfig.json
is also used for path aliases, but I figured esbuild would care about atsconfig.json
only in the root of the project. I'm not a TypeScript expert, but as far as I can tell, it doesn't look like nested tsconfigs are supported.The text was updated successfully, but these errors were encountered: