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

Standalone React helpers plugin #214

Open
RDIL opened this issue Nov 8, 2024 · 0 comments
Open

Standalone React helpers plugin #214

RDIL opened this issue Nov 8, 2024 · 0 comments

Comments

@RDIL
Copy link

RDIL commented Nov 8, 2024

Hi team!

Amazing work so far on all of your efforts to speed up the web!
I come with a request: it would be super nice if the React utilities plugin (especially the prop-types removal transform) could be it's own, standalone plugin that can be used within swc itself. The reason is that using things like @swc/jest does not allow calling code like import { Compiler } from "@modern-js/swc-plugins";, and it needs to get an swc config instead. If the plugin could be used as an independent swc plugin, just like @swc/plugin-styled-components works for example, that would be awesome!

Thank you!

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

1 participant