This highly experimental codemod moves the CSS-in-JS styles into the CSS Modules.
Example
Before
jsx
After
The file gets transformed into:
jsx
And the codemod creates the new file Head.module.css which contains:
jsx
Explore community-led codemods to migrate, optimize, and transform your codebase.
Build your own codemod and share it with the community.
No description available
The easiest way to run this codemod without installing anything globally:
This highly experimental codemod moves the CSS-in-JS styles into the CSS Modules.
jsx
The file gets transformed into:
jsx
And the codemod creates the new file Head.module.css which contains:
jsx
Build your own codemod and share it with the community.