-
Notifications
You must be signed in to change notification settings - Fork 6
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
can't use with @vitejs/plugin-react
#7
Comments
Can you share the error messages you're getting, if any? |
You can enable babel macros for react with this code:
|
This works for me, but Jest tests will fail while using emotion styled function for example:
Any ideas on how to fix this? |
I would recommend switching to Vitest https://vitest.dev/ Either way, this issue is veering off topic and doesn't have sufficient information or a reproduction, so I'm closing it |
Confirmed, this worked for me as well. |
Because no one suggested to do so! 😅 I'll go ahead and take care of that |
🥇thanks @itsMapleLeaf that would be helpful as it took me awhile to find this. It would be nice to have an example of how to setup for React based projects. |
#6 same issue
The text was updated successfully, but these errors were encountered: