Skip to content

Commit f27d12b

Browse files
Merge pull request #135 from jescalan/master
Fix loader context
2 parents 8c7cede + 371ddb4 commit f27d12b

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
@@ -51,7 +51,7 @@ module.exports = function (source, map) {
5151

5252
Promise.resolve().then(function () {
5353
if ( typeof options !== 'undefined' ) {
54-
return parseOptions(options, pack);
54+
return parseOptions.call(loader, options, pack);
5555
} else {
5656
if ( pack ) {
5757
throw new Error('PostCSS plugin pack is supported ' +

0 commit comments

Comments
 (0)