Skip to content

Commit 229ec88

Browse files
author
Valentyn
authored
Merge pull request #28 from donaldpipowitch/patch-2
support source maps
2 parents 12b32e1 + 4c2afc2 commit 229ec88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function processOptions(source, options) {
1818
return newSource;
1919
}
2020

21-
module.exports = function (source) {
21+
module.exports = function (source, map) {
2222
this.cacheable();
2323

2424
var options = loaderUtils.getOptions(this);
@@ -32,5 +32,5 @@ module.exports = function (source) {
3232
source = processOptions(source, options);
3333
}
3434

35-
return source;
35+
this.callback(null, source, map);
3636
};

0 commit comments

Comments
 (0)