File tree Expand file tree Collapse file tree
packages/@ngtools/webpack Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7272 "karma-webpack" : " ^2.0.0" ,
7373 "less" : " ^2.7.2" ,
7474 "less-loader" : " ^2.2.3" ,
75- "loader-utils" : " ^0.2.16 " ,
75+ "loader-utils" : " ^1. 0.2" ,
7676 "lodash" : " ^4.11.1" ,
7777 "magic-string" : " ^0.19.0" ,
7878 "minimatch" : " ^3.0.3" ,
Original file line number Diff line number Diff line change 2626 },
2727 "dependencies" : {
2828 "enhanced-resolve" : " ^3.1.0" ,
29- "loader-utils" : " ^0.2.16 " ,
29+ "loader-utils" : " ^1. 0.2" ,
3030 "magic-string" : " ^0.19.0" ,
3131 "source-map" : " ^0.5.6"
3232 },
Original file line number Diff line number Diff line change @@ -374,7 +374,7 @@ export function ngcLoader(this: LoaderContext & { _compilation: any }) {
374374 } )
375375 . catch ( err => cb ( err ) ) ;
376376 } else {
377- const options = loaderUtils . parseQuery ( this . query ) ;
377+ const options = loaderUtils . getOptions ( this ) || { } ;
378378 const tsConfigPath = options . tsConfigPath ;
379379 const tsConfig = ts . readConfigFile ( tsConfigPath , ts . sys . readFile ) ;
380380
You can’t perform that action at this time.
0 commit comments