File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,9 @@ sudo: false
2
2
language : node_js
3
3
os :
4
4
- linux
5
- - osx
6
5
node_js :
7
6
- node
8
7
- " 6"
9
- - " 5"
10
8
- " 4"
11
9
12
10
script : npm run travis
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function randomIdent() {
14
14
}
15
15
16
16
function getLoaderConfig ( context ) {
17
- var query = loaderUtils . parseQuery ( context . query ) ;
17
+ var query = loaderUtils . getOptions ( context ) || { } ;
18
18
var configKey = query . config || 'htmlLoader' ;
19
19
var config = context . options && context . options . hasOwnProperty ( configKey ) ? context . options [ configKey ] : { } ;
20
20
Original file line number Diff line number Diff line change 7
7
"es6-templates" : " ^0.2.2" ,
8
8
"fastparse" : " ^1.1.1" ,
9
9
"html-minifier" : " ^3.0.1" ,
10
- "loader-utils" : " ^0.2.15 " ,
10
+ "loader-utils" : " ^1. 0.2" ,
11
11
"object-assign" : " ^4.1.0"
12
12
},
13
13
"license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments