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.
Provide a description in this issue that describes the bug.
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 https://github.com/vuejs/vue-next instead.
I can confirm that this bug no longer exists after bumping react-refresh to '^0.11.0' in #5245
The update will be included in the next @vitejs/plugin-react release.
Describe the bug
Apparently components inside namespaces is not supported. I don't exactly know if the error comes from esbuild or something, but it would nice.
The bug is that is not shown as a compilation error.
Reproduction
Simply start a
react-ts
project with$ npm init @vitejs/app my-vue-app --template react-ts
and write the following code:System Info
Used package manager: npm
Logs
I get the following runtime error:
I suppose it should be a compilation error?
Before submitting the issue, please make sure you do the following
The text was updated successfully, but these errors were encountered: