-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add an option to not warn on const export #8
Comments
So yeah this file is not respecting the rules of Fast refresh:
I hope it's clear! Edit: For the constant export, this could be allowed by the plugin via an option though (I don't want to make it a default because I don't think other integrations handle this specific case) |
Kapture.2023-04-13.at.10.44.20.mp4You are correct, I update |
Thanks for you job! I test on vite based project, when I create a
button.tsx
file, contains:When I edit this file, it's safety hmr update. Do I miss something?
The text was updated successfully, but these errors were encountered: