diff --git a/lib/util/Components.js b/lib/util/Components.js index 6ec129cbdc..7ede07799a 100644 --- a/lib/util/Components.js +++ b/lib/util/Components.js @@ -658,8 +658,8 @@ function componentRule(rule, context) { return updatedRuleInstructions; } -module.exports = { +module.exports = Object.assign(Components, { detect(rule) { return componentRule.bind(this, rule); } -}; +});