sort-css-media-queries
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

sort-css-media-queries

npm es2015

The custom sort method for css-mqpacker or pleeease (which uses css-mqpacker) or, perhaps, something else ))

Installing

npm install --save sort-css-media-queries
# or using yarn cli
yarn add sort-css-media-queries

Usage

See the original docs at first https://www.npmjs.com/package/css-mqpacker#sort;

const sortCSSmq = require('sort-css-media-queries');

// your cool code
// ...

postcss([
  mqpacker({
    sort: sortCSSmq
  })
]).process(css);

Warn

it's use es6 syntax

Tests

Sorry but here no tests yet.

Contributing

you know what to do - issues and pulls

/sort-css-media-queries/

    Package Sidebar

    Install

    npm i sort-css-media-queries@1.0.0

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • dutchenkooleg