Skip to content

Commit 4785e59

Browse files
committed
Fixed passing of options to Dts
1 parent ccb49a9 commit 4785e59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = function(source, map) {
99
// Pass on query parameters as an options object to the DtsCreator. This lets
1010
// you change the default options of the DtsCreator and e.g. use a different
1111
// output folder.
12-
var queryOptions = loaderUtils.getOptions(this.query);
12+
var queryOptions = loaderUtils.getOptions(this);
1313
var options;
1414
if (queryOptions) {
1515
options = Object.assign({}, queryOptions);

0 commit comments

Comments
 (0)