Open ArnaudBarre opened 6 days ago
The issue is that a lot of people are used to run tsc or tsc --noEmit at the root of the project, and now, this silently does nothing
There's supposed to be an error if there are zero input files - do you have a sample we can look at to understand why that's not happening?
You can run bun create vite@latest && cd vite-project && bun i && bun tsc
(choose React and TypeScript)
There's supposed to be an error if there are zero input files
The related issue is still open: #8344
There's supposed to be an error if there are zero input files
The related issue is still open: #8344
Thank you!
π Search Terms
The Vite starters now use a "solution" tsconfig, as documented in the docs.
The issue is that a lot of people are used to run
tsc
ortsc --noEmit
at the root of the project, and now, this silently does nothing.β Viability Checklist
β Suggestion
I think in that specific case, it should do one of those two things:
files: []
)π Motivating Example
You have three chars less to type? π
More seriously, it's about making project references more used without a familiar command becoming useless
π» Use Cases
We get some reports like this: https://github.com/vitejs/vite/issues/17585
I suspect a lot more people fall for this, but find the issue before opening an issue