You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The custom `sort` method for [`css-mqpacker`](https://www.npmjs.com/package/css-mqpacker) or [`pleeease`](https://www.npmjs.com/package/pleeease) (which uses css-mqpacker) or, perhaps, something else ))
7
+
8
+
## Installing
9
+
10
+
```shell
11
+
npm install --save sort-css-media-queries
12
+
# or using yarn cli
13
+
yarn add sort-css-media-queries
14
+
```
15
+
16
+
## Usage
17
+
18
+
See the original docs at first https://www.npmjs.com/package/css-mqpacker#sort;
19
+
20
+
```js
21
+
22
+
constsortCSSmq=require('sort-css-media-queries');
23
+
24
+
// your cool code
25
+
// ...
26
+
27
+
postcss([
28
+
mqpacker({
29
+
sort: sortCSSmq
30
+
})
31
+
]).process(css);
32
+
33
+
```
34
+
35
+
### Warn
36
+
37
+
it's use es6 syntax
38
+
39
+
- ECMAScript 2015 (ES6) and beyond - https://nodejs.org/en/docs/es6/
40
+
- Node.js ES2015 Support - http://node.green/
41
+
42
+
43
+
## Tests
44
+
45
+
Sorry but here no tests yet.
46
+
47
+
48
+
## Contributing
49
+
50
+
you know what to do - [issues](https://github.com/dutchenkoOleg/sort-css-media-queries/issues) and [pulls](https://github.com/dutchenkoOleg/sort-css-media-queries/pulls)
0 commit comments