postcss-discard-duplicates

  • Version 9.0.0
  • Published
  • 10.2 kB
  • No dependencies
  • MIT license

Install

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

Overview

Discard duplicate rules in your CSS files with PostCSS.

Index

Variables

variable moduleExports

const moduleExports: typeof pluginCreator;

    Functions

    function pluginCreator

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

    Type Aliases

    type ComparableNode

    type ComparableNode = {
    type: string;
    important?: boolean;
    raws: {
    before?: string;
    afterName?: string;
    };
    selector?: string;
    name?: string;
    params?: string;
    prop?: string;
    value?: string;
    nodes?: import('postcss').ChildNode[];
    };
    • Structural view over the postcss node kinds compared by equals and its helpers. {{ type: string, important?: boolean, raws: { before?: string, afterName?: string }, selector?: string, name?: string, params?: string, prop?: string, value?: string, nodes?: import('postcss').ChildNode[], }} ComparableNode

    Namespaces

    namespace pluginCreator

    namespace pluginCreator {}

      variable postcss

      var postcss: boolean;

        Package Files (1)

        Dependencies (0)

        No dependencies.

        Dev Dependencies (1)

        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-duplicates.

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