UNPKG

postcss-discard-comments

Version:

Discard comments in your CSS files with PostCSS.

17 lines • 591 B
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