@@ -8,6 +8,7 @@ const NS = 'vue-loader'
8
8
const NormalModule = require ( 'webpack/lib/NormalModule' )
9
9
const BasicEffectRulePlugin = require ( 'webpack/lib/rules/BasicEffectRulePlugin' )
10
10
const BasicMatcherRulePlugin = require ( 'webpack/lib/rules/BasicMatcherRulePlugin' )
11
+ const DescriptionDataMatcherRulePlugin = require ( 'webpack/lib/rules/DescriptionDataMatcherRulePlugin' )
11
12
const UseEffectRulePlugin = require ( 'webpack/lib/rules/UseEffectRulePlugin' )
12
13
const RuleSetCompiler = require ( 'webpack/lib/rules/RuleSetCompiler' ) as RuleSetCompiler
13
14
@@ -62,20 +63,23 @@ type Effect = BasicEffect | UseEffect
62
63
63
64
const ruleSetCompiler = new RuleSetCompiler ( [
64
65
new BasicMatcherRulePlugin ( 'test' , 'resource' ) ,
66
+ new BasicMatcherRulePlugin ( 'mimetype' ) ,
67
+ new BasicMatcherRulePlugin ( 'dependency' ) ,
65
68
new BasicMatcherRulePlugin ( 'include' , 'resource' ) ,
66
69
new BasicMatcherRulePlugin ( 'exclude' , 'resource' , true ) ,
67
- new BasicMatcherRulePlugin ( 'resource' ) ,
68
70
new BasicMatcherRulePlugin ( 'conditions' ) ,
71
+ new BasicMatcherRulePlugin ( 'resource' ) ,
69
72
new BasicMatcherRulePlugin ( 'resourceQuery' ) ,
73
+ new BasicMatcherRulePlugin ( 'resourceFragment' ) ,
70
74
new BasicMatcherRulePlugin ( 'realResource' ) ,
71
75
new BasicMatcherRulePlugin ( 'issuer' ) ,
72
76
new BasicMatcherRulePlugin ( 'compiler' ) ,
77
+ new DescriptionDataMatcherRulePlugin ( ) ,
73
78
new BasicEffectRulePlugin ( 'type' ) ,
74
79
new BasicEffectRulePlugin ( 'sideEffects' ) ,
75
80
new BasicEffectRulePlugin ( 'parser' ) ,
76
81
new BasicEffectRulePlugin ( 'resolve' ) ,
77
- new BasicEffectRulePlugin ( 'generator' ) ,
78
- new UseEffectRulePlugin ( ) ,
82
+ new UseEffectRulePlugin ( )
79
83
] )
80
84
81
85
class VueLoaderPlugin implements Plugin {
0 commit comments