Skip to content

Commit

Permalink
fix(utils): Account for rule property "generator" (#454)
Browse files Browse the repository at this point in the history
In Webpack 5 a new property "generator" has been added to the rule definition, which must be accounted for in the rule set.

Fixes #428. (See  vuejs/vue-loader#1753)
  • Loading branch information
ihmels committed May 6, 2021
1 parent c21e3db commit 9fc86f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/utils/get-matched-rule-5.js
Expand Up @@ -22,6 +22,7 @@ const ruleSetCompiler = new RuleSetCompiler([
new BasicEffectRulePlugin('sideEffects'),
new BasicEffectRulePlugin('parser'),
new BasicEffectRulePlugin('resolve'),
new BasicEffectRulePlugin('generator'),
new DescriptionDataMatcherRulePlugin(),
new UseEffectRulePlugin()
]);
Expand Down

0 comments on commit 9fc86f1

Please sign in to comment.