Home > purgecss-webpack-plugin > PurgeCSSUserDefinedOptions > dynamicAttributes
PurgeCSSUserDefinedOptions.dynamicAttributes property
Attributes that are set or changed at runtime, e.g. by JavaScript, and therefore may not appear in the content files. Attribute selectors on these attributes are kept whatever their value. Strings match the attribute name exactly, regular expressions are tested against it.
Signature:
dynamicAttributes?: StringRegExpArray;
