Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(@ngtools/webpack): Bump loader-utils and use getOptions
  • Loading branch information
ryantd committed Feb 25, 2017
commit 8b3e1f3bd3d3d5aa09ab9792aa4d677f0a2cf252
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"karma-webpack": "^2.0.0",
"less": "^2.7.2",
"less-loader": "^2.2.3",
"loader-utils": "^0.2.16",
"loader-utils": "^1.0.2",
"lodash": "^4.11.1",
"magic-string": "^0.19.0",
"minimatch": "^3.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/@ngtools/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"dependencies": {
"enhanced-resolve": "^3.1.0",
"loader-utils": "^0.2.16",
"loader-utils": "^1.0.2",
"magic-string": "^0.19.0",
"source-map": "^0.5.6"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/@ngtools/webpack/src/loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ export function ngcLoader(this: LoaderContext & { _compilation: any }) {
})
.catch(err => cb(err));
} else {
const options = loaderUtils.parseQuery(this.query);
const options = loaderUtils.getOptions(this) || {};
const tsConfigPath = options.tsConfigPath;
const tsConfig = ts.readConfigFile(tsConfigPath, ts.sys.readFile);

Expand Down