File tree 3 files changed +3
-3
lines changed
packages/@ngtools/webpack
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 72
72
"karma-webpack" : " ^2.0.0" ,
73
73
"less" : " ^2.7.2" ,
74
74
"less-loader" : " ^2.2.3" ,
75
- "loader-utils" : " ^0.2.16 " ,
75
+ "loader-utils" : " ^1. 0.2" ,
76
76
"lodash" : " ^4.11.1" ,
77
77
"magic-string" : " ^0.19.0" ,
78
78
"minimatch" : " ^3.0.3" ,
Original file line number Diff line number Diff line change 26
26
},
27
27
"dependencies" : {
28
28
"enhanced-resolve" : " ^3.1.0" ,
29
- "loader-utils" : " ^0.2.16 " ,
29
+ "loader-utils" : " ^1. 0.2" ,
30
30
"magic-string" : " ^0.19.0" ,
31
31
"source-map" : " ^0.5.6"
32
32
},
Original file line number Diff line number Diff line change @@ -374,7 +374,7 @@ export function ngcLoader(this: LoaderContext & { _compilation: any }) {
374
374
} )
375
375
. catch ( err => cb ( err ) ) ;
376
376
} else {
377
- const options = loaderUtils . parseQuery ( this . query ) ;
377
+ const options = loaderUtils . getOptions ( this ) || { } ;
378
378
const tsConfigPath = options . tsConfigPath ;
379
379
const tsConfig = ts . readConfigFile ( tsConfigPath , ts . sys . readFile ) ;
380
380
You can’t perform that action at this time.
0 commit comments