UNPKG

postcss-variable-compress

Version:

PostCSS plugin cleans up the variable names and saves space. It can will reduce your css variable to smaller variables

11 lines (10 loc) 388 B
export type skipFunction = (variableName: string) => boolean | undefined; export type variableCompressParameters = skipFunction | string; declare function map(j: import("postcss").Declaration): void; declare function variableCompress(opts?: variableCompressParameters[]): { postcssPlugin: string; Declaration: { "*": typeof map; }; }; export default variableCompress;