Package Exports
- sort-css-media-queries
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sort-css-media-queries) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
sort-css-media-queries
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-queriesUsage
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
- ECMAScript 2015 (ES6) and beyond - https://nodejs.org/en/docs/es6/
- Node.js ES2015 Support - http://node.green/
Tests
Sorry but here no tests yet.