I deleted tailwind-merge from production
I deleted tailwind-merge from production While auditing dependencies in my monorepo, I ran an experiment that bothered me more than it should have: twMerge('border-grid border-red-500') // => 'border-red-500' border-grid is a custom utility defined in my component library's CSS. tailwind-merge has never heard of it, so it does what its heuristics say: anything shaped like border-<something> that is not a known width or style must be a border color. Two border colors conflict, the later one wi
