How to create a swc plugin that scans the DOM? #7276
Replies: 1 comment
-
I found documentation https://swc.rs/docs/plugin/ecmascript/getting-started |
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.
-
Hello! I am using swc and nextjs.
I need to create a symantic syntax.
Scan the DOM and find all
<group></group>
elements.I want to replace them with divs, and add className="group".
Can I do this by creating an SWC plugin? Is there documentation on creation? This is my first time doing this and I need any information
Beta Was this translation helpful? Give feedback.
All reactions