UNPKG

postcss-remove-classes

Version:

PostCSS plugin to remove specific classes from a CSS file

10 lines (6 loc) 322 B
import { Plugin } from 'postcss'; export default function removeClasses ( matchArg: string[] ): Plugin; export function classNameMatches(matchArg: string | RegExp | string[]): (className: string) => boolean; export function removeClasses(matchesClassName: (className: string) => boolean, selector: string): string;