-
I have tailwindcss settings safelist: [
{
pattern: /(!border|border)(-[\S]*)?-.+/,
},
{
pattern: /(!bg|bg)-.+/,
},
{
pattern: /\s\[.*\]/, //This one doesn't work
}
], I want tailwind to match something like: [border-style:dash_none_none_${dynamicStyle}] Is it possible? |
Beta Was this translation helpful? Give feedback.
Answered by
wongjn
Dec 20, 2024
Replies: 1 comment
-
It is not possible. This is because there would be an infinite amount of strings Tailwind would need to generated and check against. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
KiddoV
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is not possible. This is because there would be an infinite amount of strings Tailwind would need to generated and check against.