Home > purgecss > VariablesStructure > addVariableUsage

VariablesStructure.addVariableUsage() method

Signature:

addVariableUsage(declaration: postcss.Declaration, matchedVariables: RegExpMatchArray[]): void;

Parameters

ParameterTypeDescription
declarationpostcss.Declaration
matchedVariablesRegExpMatchArray[]

Returns:

void