Skip to content

Commit cf2d6f6

Browse files
committed
Keep existing API of exporting Components
1 parent 04a42a9 commit cf2d6f6

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
@@ -658,8 +658,8 @@ function componentRule(rule, context) {
658658
return updatedRuleInstructions;
659659
}
660660

661-
module.exports = {
661+
module.exports = Object.assign(Components, {
662662
detect(rule) {
663663
return componentRule.bind(this, rule);
664664
}
665-
};
665+
});

0 commit comments

Comments
 (0)