tpa-style-webpack-plugin
Version:
A Webpack plugin that handles wix tpa styles, it separates static css file that injects dynamic style at runtime.
19 lines (18 loc) • 504 B
TypeScript
export declare class Plugins {
cssFunctions: {
[index: string]: Function;
};
declarationReplacers: Function[];
private regex;
constructor();
addCssFunction(funcName: string, func: Function): void;
addDeclarationReplacer(func: Function): void;
resetPlugins(): void;
isSupportedFunction(str: any): boolean;
getFunctionSignature(str: string): {
funcName: string;
args: string[];
};
private extractArguments;
private updateRegex;
}