File tree 3 files changed +22
-2
lines changed
3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ ExtractTextPlugin.prototype.apply = function(compiler) {
290
290
return callback ( ) ;
291
291
}
292
292
meta = module [ NS ] ;
293
- if ( ! Array . isArray ( meta . content ) ) {
293
+ if ( ! Array . isArray ( meta . content ) && meta . content != null ) {
294
294
err = new Error ( module . identifier ( ) + " doesn't export content" ) ;
295
295
compilation . errors . push ( err ) ;
296
296
return callback ( ) ;
Original file line number Diff line number Diff line change 6
6
"engines" : {
7
7
"node" : " >=4.3.0 < 5.0.0 || >= 5.10"
8
8
},
9
+ "main" : " index.js" ,
10
+ "files" : [
11
+ " schema" ,
12
+ " ExtractedModule.js" ,
13
+ " index.js" ,
14
+ " loader.js" ,
15
+ " OrderUndefinedError.js" ,
16
+ " hotModuleReplacement.js"
17
+ ],
9
18
"license" : " MIT" ,
10
19
"scripts" : {
11
20
"test" : " mocha" ,
26
35
"loader-utils" : " ^1.0.2" ,
27
36
"schema-utils" : " ^0.3.0" ,
28
37
"style-loader" : " ^0.16.1" ,
29
- "webpack-sources" : " ^0.2.3 "
38
+ "webpack-sources" : " ^1.0.1 "
30
39
},
31
40
"devDependencies" : {
32
41
"codecov.io" : " ^0.1.2" ,
Original file line number Diff line number Diff line change @@ -3663,6 +3663,10 @@ source-list-map@^1.1.1:
3663
3663
version "1.1.1"
3664
3664
resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-1.1.1.tgz#1a33ac210ca144d1e561f906ebccab5669ff4cb4"
3665
3665
3666
+ source-list-map@^2.0.0 :
3667
+ version "2.0.0"
3668
+ resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.0.tgz#aaa47403f7b245a92fbc97ea08f250d6087ed085"
3669
+
3666
3670
source-map@^0.4.4 :
3667
3671
version "0.4.4"
3668
3672
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b"
@@ -4109,6 +4113,13 @@ webpack-sources@^0.2.3:
4109
4113
source-list-map "^1.1.1"
4110
4114
source-map "~0.5.3"
4111
4115
4116
+ webpack-sources@^1.0.1 :
4117
+ version "1.0.1"
4118
+ resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.0.1.tgz#c7356436a4d13123be2e2426a05d1dad9cbe65cf"
4119
+ dependencies :
4120
+ source-list-map "^2.0.0"
4121
+ source-map "~0.5.3"
4122
+
4112
4123
webpack@^2.2.0 :
4113
4124
version "2.4.1"
4114
4125
resolved "https://registry.yarnpkg.com/webpack/-/webpack-2.4.1.tgz#15a91dbe34966d8a4b99c7d656efd92a2e5a6f6a"
You can’t perform that action at this time.
0 commit comments