Skip to content
This repository has been archived by the owner on Dec 1, 2019. It is now read-only.

Commit

Permalink
Merge pull request #376 from sod/feature/update-loader-utils
Browse files Browse the repository at this point in the history
update loader-utils to ^1.0.2
  • Loading branch information
s-panferov committed Feb 22, 2017
2 parents 644e0ec + 9fbc5b3 commit 7faa258
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"dependencies": {
"colors": "^1.1.2",
"enhanced-resolve": "^3.1.0",
"loader-utils": "^0.2.16",
"loader-utils": "^1.0.2",
"lodash": "^4.17.4",
"mkdirp": "^0.5.1",
"object-assign": "^4.1.1",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function compiler(loader: Loader, text: string): void {

const rootCompiler = getRootCompiler(loader._compiler);

const query = <QueryOptions>loaderUtils.parseQuery(loader.query);
const query = <QueryOptions>loaderUtils.getOptions(loader);
const options = (loader.options && loader.options.ts) || {};
const instanceName = query.instance || 'at-loader';
const instance = ensureInstance(loader, query, options, instanceName, rootCompiler);
Expand Down

0 comments on commit 7faa258

Please sign in to comment.