styled-jsx crate now have a hook to transform CSS code using a Rust-side API
How can I use that in .swcrc to transform nested CSS? Or will I need to wait for the Next.js team to update the compiler in order to provide a hook in JS?
I am going to start poking around a bit more with actually running the Rust code. Thank you!
Describe the feature
I opened an issue to compile nested CSS classes. That issue was closed (thank you!) but I'm not sure how to use SWC to compile nested CSS.
There was a comment in the PR that closed it:
How can I use that in
.swcrc
to transform nested CSS? Or will I need to wait for the Next.js team to update the compiler in order to provide a hook in JS?I am going to start poking around a bit more with actually running the Rust code. Thank you!