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) • 408 B
TypeScript
export type skipFunction = (variableName: string) => boolean | undefined;
export type variableCompressParameters = skipFunction | string;
declare function map(j: import("postcss").Declaration): void;
declare function variableCompressSplitFiles(opts?: variableCompressParameters[]): {
postcssPlugin: string;
Declaration: {
"*": typeof map;
};
};
export default variableCompressSplitFiles;