postcss-discard-comments

  • Version 7.0.3
  • Published
  • 13.3 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

Variables

variable postcss

var postcss: boolean;

    variable postcss

    var postcss: boolean;

      Functions

      function pluginCreator

      pluginCreator: typeof pluginCreator;
      • {import('postcss').PluginCreator}

        Parameter opts

        {import('postcss').Plugin}

      Type Aliases

      type Options

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

        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>