54nd10 / Tailwind-reorder

The Unlicense
9 stars 5 forks source link

Update to also match JSX class strings #8

Open johnbchron opened 1 year ago

johnbchron commented 1 year ago

I updated the regex to also match className=", which is the syntax JSX uses to denote classes. This addition will make your library more inclusive, as many react-based projects use JSX over HTML.