Codemods for quick migration of large scale projects #280
emilbonnek
started this conversation in
Show and tell
Replies: 1 comment
-
Nice, this is awesome! Thanks for sharing! 🙏 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We recently adopted tailwind-merge and we had a decently sized React project with a lot of
className={`foo ${bar}`}
's across the project in many different files. To switch over to usingtwMerge
calls I made a little jscodeshift codemod which should be pretty plug-and-play if someone else wants to use it as well.twmerge-transform.js
.tsx
files in the projectBeta Was this translation helpful? Give feedback.
All reactions