Emotion swc plugin or custom compilation configuration for Plasmo ? #1093
Unanswered
Evan-Peuvergne
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Plasmo with CSS-in-JS thanks to Emotion.
When I'm trying to use a component selector in Emotion :

The console is throwing an error telling me that I can't use these kind of selectors without the babel-plugin, SWC emotion plugin or another Emotion aware compiler transforms :

Do you know if there is any way to make it work ? Or if there is a way to customize the plasmo compilation options ?
Beta Was this translation helpful? Give feedback.
All reactions