Skip to content

Commit 371ddb4

Browse files
committed
fix loader context
1 parent 8c7cede commit 371ddb4

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)