File tree 2 files changed +12
-2
lines changed 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,8 @@ ExtractTextPlugin.prototype.extract = function(options) {
184
184
}
185
185
if ( Array . isArray ( options ) || isString ( options ) || typeof options . options === "object" || typeof options . query === 'object' ) {
186
186
options = { loader : options } ;
187
+ } else {
188
+ schemaTester ( options ) ;
187
189
}
188
190
var loader = options . loader ;
189
191
var before = options . fallbackLoader || [ ] ;
Original file line number Diff line number Diff line change 13
13
},
14
14
"fallbackLoader" : {
15
15
"description" : " A loader that webpack can fall back to if the original one fails." ,
16
- "type" : " string"
16
+ "modes" : {
17
+ "type" : " string" ,
18
+ "type" : " object" ,
19
+ "type" : " array"
20
+ }
17
21
},
18
22
"filename" : {
19
23
"description" : " The filename and path that ExtractTextPlugin will extract to" ,
20
24
"type" : " string"
21
25
},
22
26
"loader" : {
23
27
"description" : " The loader that ExtractTextPlugin will attempt to load through." ,
24
- "type" : " string"
28
+ "modes" : {
29
+ "type" : " string" ,
30
+ "type" : " object" ,
31
+ "type" : " array"
32
+ }
25
33
},
26
34
"publicPath" : {
27
35
"description" : " " ,
You can’t perform that action at this time.
0 commit comments