Skip to content

Standalone React helpers plugin #214

@RDIL

Description

@RDIL

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions