I need to safelist all margin values with the respective responsive sizes.
Example:
- 'mb-10'
- 'md:mb-10'
- 'xl:mb-10'
and so on.
Here is what I have right now in my tailwind.config.js
but it doesn't seem to work for the responseive variants:
safelist: [
{
pattern: /\-?m(\w?)-/,
},
],
Is there an easy way to achieve this with regex patterns or do I need any other specific configuration? I would of course like to avoid listing them all manually.