whitelist
and whitelistPatterns
, or directly in your CSS with a special comment.whitelist
..random
, #yep
, button
will be left in the final CSS.whitelistPatterns
and whitelistPatternsChildren
.red
such as .bg-red
, and children of selectors ending with blue
such as blue p
or .bg-blue .child-of-bg
, will be left in the final CSS./* purgecss ignore */
to whitelist the next rule./* purgecss ignore current */
to whitelist the current rule./* purgecss start ignore */
and /* purgecss end ignore */
to whitelist a range of rules.