UNPKG

tpa-style-webpack-plugin

Version:

A Webpack plugin that handles wix tpa styles, it separates static css file that injects dynamic style at runtime.

13 lines (12 loc) 312 B
import postcss from 'postcss'; export interface IOptions { onFinish(result: IOptionResult): void; } export interface IOptionResult { cssVars: { [key: string]: string; }; customSyntaxStrs: string[]; css: string; } export declare const extractTPACustomSyntax: postcss.Plugin<IOptions>;