Replies: 1 comment 5 replies
-
I don't see a problem with codes / config above. What platform are you on? |
Beta Was this translation helpful? Give feedback.
5 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.
-
Apologies in advance if this is documented somewhere, I couldn't find it after searching in docs for over an hour.
I'm trying to run
swc compile in.js --config-file build.swcrc --out-file out.js
with the following config, using the plugin from the getting started guide. I've verified that the unit test passes, but the code in out.js isn't transformed. How can I make it transform the code as it's supposed to?Input (produced output is the same):
Expected output:
Plugin code:
Beta Was this translation helpful? Give feedback.
All reactions