From 371ddb4b987075d716b86fb2da707a7ce9fa7f42 Mon Sep 17 00:00:00 2001 From: Jeff Escalante Date: Wed, 9 Nov 2016 18:21:35 -0500 Subject: [PATCH] fix loader context --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index fc2b644f..83b0a030 100644 --- a/index.js +++ b/index.js @@ -51,7 +51,7 @@ module.exports = function (source, map) { Promise.resolve().then(function () { if ( typeof options !== 'undefined' ) { - return parseOptions(options, pack); + return parseOptions.call(loader, options, pack); } else { if ( pack ) { throw new Error('PostCSS plugin pack is supported ' +