SWC usage?
tunesmith opened this issue · 2 comments
tunesmith commented
In our Next.js project we recently moved from babel to SWC and unfortunately that meant we got rid of the babel integration for use-what-changed. Is there a way to continue to use // uwc-debug
if we are using SWC?
geryit commented
Yes, Nextjs support would be great!
simbathesailor commented
Hey there ,
Yes that would be great .I just explored a bit around it. It looks like you can write plugins with swc also https://swc.rs/docs/plugin/ecmascript/getting-started#implementing-simple-plugin
A swc plugin similar to https://github.com/simbathesailor/babel-plugin-use-what-changed has to be created which will make use of this library.
Unfortunately i don't have bandwidth right now . If some one creates it, i can review it.