Closed
Description
Looks like PurgeCSS automatically purges the attribute selectors eg [type='checkbox']
.
I had to add the following rule to the safelist:
module.exports = {
plugins: [require("@tailwindcss/forms")],
purge: {
options: {
safelist: [
"type", // [type='checkbox']
],
},
preserveHtmlElements: true,
},
};
Should this be something that is set up out of the box? I'm happy to PR if you can point me into the right direction
Metadata
Metadata
Assignees
Labels
No labels