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.

6 lines (5 loc) 354 B
import { IOptions, IStyles } from './types'; export declare type IGetProcessedCssFn = typeof getProcessedCss; export declare type IGetStaticCssFn = typeof getStaticCss; export declare function getProcessedCss(styles: IStyles, options?: Partial<IOptions>): string; export declare function getStaticCss(options?: Pick<IOptions, 'prefixSelector'>): string;