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
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
When the class name matches one of the named imports, SSR transform considers it to be the reference to the import.
For reference: vitest-dev/vitest#3609
Reproduction
https://stackblitz.com/edit/node-tcgjfj?file=index.js,package.json,file.js,ast.js
Steps to reproduce
Run
node index.js
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: