UNPKG

postcss-discard-duplicates

Version:

Discard duplicate rules in your CSS files with PostCSS.

30 lines • 834 B
export type ComparableNode = { type: string; important?: boolean; raws: { before?: string; afterName?: string; }; selector?: string; name?: string; params?: string; prop?: string; value?: string; nodes?: import('postcss').ChildNode[]; }; export type SeenNodes = Map<string, import('postcss').AnyNode | import('postcss').AnyNode[]>; export type Scope = { decls?: SeenNodes; ruleDecls?: Map<string, SeenNodes>; children?: Map<string, Scope>; }; /** * @return {import('postcss').Plugin} */ declare function pluginCreator(): import('postcss').Plugin; declare namespace pluginCreator { var postcss: true; } declare const moduleExports: typeof pluginCreator; export { moduleExports as default, moduleExports as 'module.exports' }; //# sourceMappingURL=index.d.ts.map