You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there is no reason to restrict the available prefixes. Removing the hardcoded ones in the default config could reduce bundle size, reduce the need to use a custom tailwind-merge config and speed up the library a little bit.
The text was updated successfully, but these errors were encountered:
Could lead to issues if people use : in their non-Tailwind classes. But in that case, I could add an optional checkPrefixes callback to the config which could be provided by the library user.
dcastil
changed the title
Allow all prefixes programmatically
Expect all prefixes to be valid Tailwind prefixes
Oct 21, 2021
I think there is no reason to restrict the available prefixes. Removing the hardcoded ones in the default config could reduce bundle size, reduce the need to use a custom tailwind-merge config and speed up the library a little bit.
The text was updated successfully, but these errors were encountered: