postcss-remove-duplicate-values
Version:
🚀 PostCSS plugin that intelligently removes duplicate CSS properties, reduces bundle size, and improves CSS maintainability. Handles !important declarations, vendor prefixes, and selector filtering with zero configuration.
15 lines (11 loc) • 348 B
TypeScript
import { Processor, Plugin } from 'postcss';
type Options = {
selector?: (selector: string) => boolean | string | RegExp;
preserveEmpty?: boolean;
};
declare const postcss: true;
declare function pluginCreator(options?: Options): Plugin | Processor;
declare namespace pluginCreator {
export { postcss, Options };
}
export = pluginCreator;