postcss-merge-longhand

  • Version 9.4.0
  • Published
  • 403 kB
  • 4 dependencies
  • MIT license

Install

npm i postcss-merge-longhand
yarn add postcss-merge-longhand
pnpm add postcss-merge-longhand

Overview

Merge longhand properties into shorthand with PostCSS.

Index

Variables

variable moduleExports

const moduleExports: typeof pluginCreator;

    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 FamilyDeclarations

        type FamilyDeclarations = {
        family: PairFamily | AlignmentFamilyConfig;
        decls: Declaration[];
        lanes: [Declaration[], Declaration[]];
        };

          type MergeContext

          type MergeContext = {
          columnRules: [Container, Declaration[], [Declaration[], Declaration[]]][];
          setsOtherColumn: boolean;
          shorthandMemoTable: Map<string, string | null>;
          placeShorthands: boolean;
          boxSupport: BoxSupport;
          pairShorthands: ReadonlySet<string>;
          };

            type Options

            type Options = AutoprefixerOptions & BrowserslistOptions;

              Namespaces

              namespace pluginCreator

              namespace pluginCreator {}

                variable postcss

                var postcss: boolean;

                  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-merge-longhand.

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