This repository was archived by the owner on May 29, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 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) {
184184 }
185185 if ( Array . isArray ( options ) || isString ( options ) || typeof options . options === "object" || typeof options . query === 'object' ) {
186186 options = { loader : options } ;
187+ } else {
188+ schemaTester ( options ) ;
187189 }
188190 var loader = options . loader ;
189191 var before = options . fallbackLoader || [ ] ;
Original file line number Diff line number Diff line change 1313 },
1414 "fallbackLoader" : {
1515 "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+ }
1721 },
1822 "filename" : {
1923 "description" : " The filename and path that ExtractTextPlugin will extract to" ,
2024 "type" : " string"
2125 },
2226 "loader" : {
2327 "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+ }
2533 },
2634 "publicPath" : {
2735 "description" : " " ,
You can’t perform that action at this time.
0 commit comments