postcss-discard-comments

  • Version 9.0.8
  • Published
  • 24.6 kB
  • 2 dependencies
  • 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

variable moduleExports

const moduleExports: typeof pluginCreator;

    Functions

    function pluginCreator

    pluginCreator: typeof pluginCreator;
    • Parameter opts

      {import('postcss').Plugin}

    Type Aliases

    type CSSToken

    type CSSToken = import('@csstools/css-tokenizer').CSSToken;

      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 (2)

            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>