Home > purgecss > VariablesStructure > addVariableUsage
VariablesStructure.addVariableUsage() method
Signature:
addVariableUsage(declaration: postcss.Declaration, matchedVariables: RegExpMatchArray[]): void;
Parameters
Parameter | Type | Description |
---|---|---|
declaration | postcss.Declaration | |
matchedVariables | RegExpMatchArray[] |
Returns:
void