postcss-minify-selectors

  • Version 8.0.1
  • Published
  • 27.8 kB
  • 4 dependencies
  • MIT license

Install

npm i postcss-minify-selectors
yarn add postcss-minify-selectors
pnpm add postcss-minify-selectors

Overview

Minify selectors with PostCSS.

Index

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 AutoprefixerOptions

      type AutoprefixerOptions = {
      overrideBrowserslist?: string | string[];
      };

        type BrowserslistOptions

        type BrowserslistOptions = Pick<browserslist.Options, 'stats' | 'path' | 'env'>;

          type Options

          type Options = OwnOptions & AutoprefixerOptions & BrowserslistOptions;

            type OwnOptions

            type OwnOptions = {
            sort?: boolean | undefined;
            /**
            * Factor shared prefixes/suffixes in a
            * comma-separated selector list into `:is(...)` when it produces shorter
            * output and is safe with respect to cascade specificity. Automatically
            * skipped when the configured browserslist target doesn't support `:is()`.
            */
            convertToIs?: boolean | undefined;
            };

              Package Files (1)

              Dependencies (4)

              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-minify-selectors.

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