Skip to content

Commit 5f662f3

Browse files
author
dutchenkoOleg
committed
Corrected export method
1 parent b297c25 commit 5f662f3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const isMaxHeight = testQuery(maxMinHeight, minMaxHeight, maxHeight);
3535
* @return {number} 1 / 0 / -1
3636
* @sourcecode
3737
*/
38-
export default function (a, b) {
38+
module.exports = function (a, b) {
3939
let minA = isMinWidth(a) || isMinHeight(a);
4040
let maxA = isMaxWidth(a) || isMaxHeight(a);
4141

@@ -65,7 +65,7 @@ export default function (a, b) {
6565
return -1;
6666
}
6767
return a.localeCompare(b);
68-
}
68+
};
6969

7070
/**
7171
* Wrapper for creating test functions

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sort-css-media-queries",
3-
"version": "1.0.2",
3+
"version": "1.1.0",
44
"description": "The custom `sort` method for `css-mqpacker` or `pleeease` (which uses css-mqpacker) or, perhaps, something else ))",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)