@@ -8,6 +8,7 @@ const NS = 'vue-loader'
88const NormalModule = require ( 'webpack/lib/NormalModule' )
99const BasicEffectRulePlugin = require ( 'webpack/lib/rules/BasicEffectRulePlugin' )
1010const BasicMatcherRulePlugin = require ( 'webpack/lib/rules/BasicMatcherRulePlugin' )
11+ const DescriptionDataMatcherRulePlugin = require ( 'webpack/lib/rules/DescriptionDataMatcherRulePlugin' )
1112const UseEffectRulePlugin = require ( 'webpack/lib/rules/UseEffectRulePlugin' )
1213const RuleSetCompiler = require ( 'webpack/lib/rules/RuleSetCompiler' ) as RuleSetCompiler
1314
@@ -62,20 +63,23 @@ type Effect = BasicEffect | UseEffect
6263
6364const ruleSetCompiler = new RuleSetCompiler ( [
6465 new BasicMatcherRulePlugin ( 'test' , 'resource' ) ,
66+ new BasicMatcherRulePlugin ( 'mimetype' ) ,
67+ new BasicMatcherRulePlugin ( 'dependency' ) ,
6568 new BasicMatcherRulePlugin ( 'include' , 'resource' ) ,
6669 new BasicMatcherRulePlugin ( 'exclude' , 'resource' , true ) ,
67- new BasicMatcherRulePlugin ( 'resource' ) ,
6870 new BasicMatcherRulePlugin ( 'conditions' ) ,
71+ new BasicMatcherRulePlugin ( 'resource' ) ,
6972 new BasicMatcherRulePlugin ( 'resourceQuery' ) ,
73+ new BasicMatcherRulePlugin ( 'resourceFragment' ) ,
7074 new BasicMatcherRulePlugin ( 'realResource' ) ,
7175 new BasicMatcherRulePlugin ( 'issuer' ) ,
7276 new BasicMatcherRulePlugin ( 'compiler' ) ,
77+ new DescriptionDataMatcherRulePlugin ( ) ,
7378 new BasicEffectRulePlugin ( 'type' ) ,
7479 new BasicEffectRulePlugin ( 'sideEffects' ) ,
7580 new BasicEffectRulePlugin ( 'parser' ) ,
7681 new BasicEffectRulePlugin ( 'resolve' ) ,
77- new BasicEffectRulePlugin ( 'generator' ) ,
78- new UseEffectRulePlugin ( ) ,
82+ new UseEffectRulePlugin ( )
7983] )
8084
8185class VueLoaderPlugin implements Plugin {
0 commit comments