postcss-discard-comments

  • Version 9.0.0
  • Published
  • 18.4 kB
  • 1 dependency
  • MIT license

Install

npm i postcss-discard-comments
yarn add postcss-discard-comments
pnpm add postcss-discard-comments

Overview

Discard comments in your CSS files with PostCSS.

Index

Variables

Functions

Type Aliases

Namespaces

Variables

variable moduleExports

const moduleExports: typeof pluginCreator;

    Functions

    function pluginCreator

    pluginCreator: typeof pluginCreator;
    • Parameter opts

      {import('postcss').Plugin}

    Type Aliases

    type Options

    type Options = {
    removeAll?: boolean | undefined;
    removeAllButFirst?: boolean | undefined;
    remove?: ((s: string) => boolean) | undefined;
    };

      Namespaces

      namespace pluginCreator

      namespace pluginCreator {}

        variable postcss

        var postcss: boolean;

          Package Files (1)

          Dependencies (1)

          Dev Dependencies (3)

          Peer Dependencies (1)

          Badge

          To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

          You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/postcss-discard-comments.

          • Markdown
            [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/postcss-discard-comments)
          • HTML
            <a href="https://www.jsdocs.io/package/postcss-discard-comments"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>