simbo / css-mqpacker-sort-mediaqueries

Sorts mediaqueries by min-width and/or max-width, ordered ascending (to be used as sort option value for postcss plugin css-mqpacker)
2 stars 0 forks source link

css-mqpacker-sort-mediaqueries

Sorts mediaqueries by min-width and/or max-width, ordered ascending (to be used as sort option value for postcss plugin css-mqpacker)

📖 See css-mqpacker documentation to read more about its usage and the sort option.

Example:

const cssMqpacker = require('css-mqpacker');
const sortMediaqueries = require('css-mqpacker-sort-mediaqueries');

cssMqpacker({
  sort: sortMediaqueries
});