-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hot reload broken with @vitejs/plugin-react-swc #723
Comments
I guess we could at least inform the new crxjs users to not select "js/ts + swc" while running
The official crxjs tutorial uses |
any idea why it doesn't work with swc? seems to be the direction most projects are moving |
No idea. You're right about the swc and we will need to eventually make it supported in this project, but first we need to know why it does not work |
Is this the one canonical issue tracking swc support? If so, could someone with access modify this issue: title -> "Hot reload broken with @vitejs/plugin-react-swc" (there are lots of other issues regarding HMR, would be good to have one place where this particular problem is tracked) |
Interestingly according to this comment, this user seems to be having success with swc? |
Build tool
Vite
Where do you see the problem?
Describe the bug
While rendering page show the next error:
If I replace
@vitejs/plugin-react-swc
with@vitejs/plugin-react
then it will work wellReproduction
vite.config.ts
manifest.ts
content.tsx
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: