postcss-discard-comments

  • Version 6.0.2
  • Published
  • 11.6 kB
  • No 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

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

        No dependencies.

        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>