cssnano
Version:
A modular CSS minifier, built on top of the PostCSS ecosystem.
17 lines • 591 B
TypeScript
export type CSSToken = import('@csstools/css-tokenizer').CSSToken;
export type Options = {
removeAll?: boolean | undefined;
removeAllButFirst?: boolean | undefined;
remove?: ((s: string) => boolean) | undefined;
};
/**
* @param {Options} [opts]
* @return {import('postcss').Plugin}
*/
declare function pluginCreator(opts?: Options): 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