Skip to content

Commit f667129

Browse files
author
Neal Granger
committed
Process default export last.
Babel adds the default export after any named exports. This change ensures the generated css markup preserves the same order.
1 parent 5b523da commit f667129

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,13 @@ module.exports = function(content) {
121121
// };
122122
// ```
123123
return format(config, [
124-
styles.default,
125124
mapKeys(
126125
omit(styles, 'default'),
127126
function (value, key) {
128127
return '.' + key;
129128
}
130129
),
130+
styles.default,
131131
]);
132132
}
133133

0 commit comments

Comments
 (0)