Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SWC usage? #49

Open
tunesmith opened this issue May 6, 2022 · 3 comments
Open

SWC usage? #49

tunesmith opened this issue May 6, 2022 · 3 comments

Comments

@tunesmith
Copy link

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
Copy link

geryit commented Nov 30, 2022

Yes, Nextjs support would be great!

@simbathesailor
Copy link
Owner

simbathesailor commented Dec 13, 2022

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.

@razbensimon
Copy link

what about esbuild? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants