Open benmccann opened 1 week ago
Sigh. I guess I partially have myself to blame for this one: https://github.com/rollup/rollup/pull/4194. Lol
To be fair, putting a huge list of files where you have to guess which one contains the error is slightly better than the old version, which told you nothing. And I was just using the information available where the real issue is the warning being generated without the relevant info
I've seen this happen more often since a couple months ago, but I'm not sure it's related to Vite either. Perhaps it should be reported to Rollup instead? Maybe also worth testing downgrading Rollup versions.
I was going to close this and file an issue with Rollup, but I can't reproduce it with Rollup alone: https://stackblitz.com/edit/rollup-repro-imroal
I'm guessing that there's something in Vite's TypeScript transformation that is triggering this or something along those lines
Describe the bug
I've gotten this error message from
vite
, but don't know how to fix it. It's a pretty bizarre error message because it just tells me a bunch of files where the classes aren't used. But where are the offending classes actually imported?Reproduction
https://github.com/benmccann/vite-warning-bug
Steps to reproduce
System Info
Used Package Manager
pnpm
Logs
No response
Validations