Skip to content

Commit 7786661

Browse files
authored
Merge pull request #104 from izaakschroeder/options-via-query
Allow `options` via `query`.
2 parents 0c72043 + 1054251 commit 7786661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports = function (source, map) {
3737
if ( typeof map === 'string' ) map = JSON.parse(map);
3838
if ( map && map.mappings ) opts.map.prev = map;
3939

40-
var options = this.options.postcss;
40+
var options = params.plugins || this.options.postcss;
4141
if ( typeof options === 'function' ) {
4242
options = options.call(this, this);
4343
}

0 commit comments

Comments
 (0)