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

Commit 9fbc5b3

Browse files
committed
update loader-utils to ^1.0.2
1 parent 644e0ec commit 9fbc5b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"dependencies": {
3535
"colors": "^1.1.2",
3636
"enhanced-resolve": "^3.1.0",
37-
"loader-utils": "^0.2.16",
37+
"loader-utils": "^1.0.2",
3838
"lodash": "^4.17.4",
3939
"mkdirp": "^0.5.1",
4040
"object-assign": "^4.1.1",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function compiler(loader: Loader, text: string): void {
3939

4040
const rootCompiler = getRootCompiler(loader._compiler);
4141

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

0 commit comments

Comments
 (0)