We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49b324b commit 0342e49Copy full SHA for 0342e49
lib/sorting.js
@@ -14,6 +14,10 @@ function sortDeclarations(a, b) {
14
if (!postcss.vendor.prefix(a.name).length && postcss.vendor.prefix(b.name).length) {
15
return 1;
16
}
17
+
18
+ if (postcss.vendor.prefix(a.name).length && !postcss.vendor.prefix(b.name).length) {
19
+ return -1;
20
+ }
21
22
23
if (!_.isUndefined(a.orderData) && !_.isUndefined(b.orderData)) {
@@ -68,6 +72,10 @@ function sortDeclarationsAlphabetically(a, b) {
68
72
69
73
70
74
75
76
77
78
71
79
80
81
return a.initialIndex - b.initialIndex;
0 commit comments