-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Providing additional babel plugins for plugin-react-refresh #3276
Comments
What do you think @nihalgonsalves @antfu, when it can be included in the release? This issue is the only thing that blocks our team from moving from snowpack to vite. |
me too |
I have proposed a provisional plugin to work around this problem vite-plugin-react-refresh |
Seems the working on #3588 stands still 😕 |
Thank you all for awesome work and releasing plugin-react :) |
Emotion is a quite popular library for writing css styles with JavaScript. To use all the Emotion's development features, we need to use babel plugin called @emotion/babel-plugin. Before this PR it was possible to do it in the .babelrc file, but now that option is disabled.
As a developer using Vite I want to specify additional babel plugins used by plugin-react-refresh so that I can use all the features of Emotion library.
Suggested solution
Support passing additional babel plugins in a similar way as passing babel parser plugins (via options).
The text was updated successfully, but these errors were encountered: