You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"No problem," I figured, "I'll just create a different tsconfig.json and update my app.config.ts to point to it":
// in app.config.tsexportdefaultdefineConfig({vite: {plugins: [tsConfigPaths({projects: ['./app/tsconfig.json'],}),],},})
However, after setting up that app/tsconfig.json, I still get the same warning, which references the root tsconfig.json.
I thought this might be because the root tsconfig.json is still used for app.config.ts itself, but I observe the same behavior if I change it to app.config.js. Additionally, I notice that changing either tsconfig.json or app/tsconfig.json triggers a dev server restart.
This warning is likely being thrown by the older version of esbuild that's in Vinxi's dependencies.
Testing this with the target set to "ES2023" and with it also being included in the "lib" option of tsconfig.json in the "devinxi" branch does not yield this warning.
Which project does this relate to?
Start
Describe the bug
I'm trying to add TanStack Start to an existing project where the root
tsconfig.json
declaresThat causes vinxi to emit a warning when starting the dev server:
"No problem," I figured, "I'll just create a different
tsconfig.json
and update myapp.config.ts
to point to it":However, after setting up that
app/tsconfig.json
, I still get the same warning, which references the roottsconfig.json
.I thought this might be because the root
tsconfig.json
is still used forapp.config.ts
itself, but I observe the same behavior if I change it toapp.config.js
. Additionally, I notice that changing eithertsconfig.json
orapp/tsconfig.json
triggers a dev server restart.Your Example Website or App
https://codesandbox.io/p/devbox/modern-shape-48wcmm?file=%2Fapp.config.ts
Steps to Reproduce the Bug or Issue
Use the CodeSandbox above, or recreate it with these steps:
tsconfig.json
into thesrc/
dir.tsConfigPaths
options inapp.config.ts
to point to./src/tsconfig.json
.tsconfig.json
, changetarget
to"ES2023"
.Expected behavior
When
tsConfigPaths
references a non-root tsconfig file, I expect the roottsconfig.json
to be irrelevant.Screenshots or Videos
No response
Platform
Observed on both my Mac and the CodeSandbox. Here are the dependency versions:
Additional context
No response
The text was updated successfully, but these errors were encountered: