Skip to content

Commit 728987c

Browse files
committed
Keep existing API of exporting Components
1 parent c71dc02 commit 728987c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/util/Components.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -674,8 +674,8 @@ function componentRule(rule, context) {
674674
return updatedRuleInstructions;
675675
}
676676

677-
module.exports = {
677+
module.exports = Object.assign(Components, {
678678
detect(rule) {
679679
return componentRule.bind(this, rule);
680680
}
681-
};
681+
});

0 commit comments

Comments
 (0)