UNPKG

postcss-discard-comments

Version:

Discard comments in your CSS files with PostCSS.

21 lines 681 B
export type Options = { removeAll?: boolean | undefined; removeAllButFirst?: boolean | undefined; remove?: ((s: string) => boolean) | undefined; }; /** @typedef {object} Options * @property {boolean=} removeAll * @property {boolean=} removeAllButFirst * @property {(s: string) => boolean=} remove */ /** * @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