Replies: 2 comments 1 reply
-
Also let me know if this should be converted into a github issue? |
Beta Was this translation helpful? Give feedback.
1 reply
-
github issue #5453 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
👋 Hello,
I am trying to use
@swc/plugin-emotion
withswc
from swc-project/plugins/packages/emotion in.swcrc
:But when I run
swc
(npx swc ./src --config-file ./swcrc/.swcrc.commonjs -d dist/cjs
) I get an error:For context, it seems to work fine if I remove the
experimental
andplugins
attributesAnd when I try to check the
.swcrc
in swc.rs/playground for"experimental"
I getBtw I also get the same for
"exclude"
in case that's relevant.So I wanted to double check if I am doing something wrong? or whether there are known issues with plugins and/or the emotion plugin? 🙏
I also added an example repo to reproduce github.com/pietrop/cra-swc-emotion-plugin-example
Let me know if you need any other info, pretty stuck on this
Beta Was this translation helpful? Give feedback.
All reactions