How can we develop custom jsx plugins #416
Answered
by
kdy1
Nirvana-Jie
asked this question in
Q&A
-
The current strong binding between jsx and react. If we need to develop a custom jsx plug-in, can we provide a jsx vistor in advance, similar to @babel/plugin-syntax-jsx? |
Beta Was this translation helpful? Give feedback.
Answered by
kdy1
Feb 21, 2025
Replies: 1 comment 4 replies
-
https://swc.rs/docs/configuration/compilation#jsctransformreactimportsource |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can strip JSX from the Wasm plugin so there’s no JSX in a PoV of builtin JSX pass