We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0d6db5e + 346b58a commit 67e68f5Copy full SHA for 67e68f5
index.js
@@ -1,13 +1,13 @@
1
var loaderUtils = require('loader-utils');
2
var postcss = require('postcss');
3
4
-module.exports = function (source) {
+module.exports = function (source, map) {
5
if ( this.cacheable ) this.cacheable();
6
7
var file = loaderUtils.getRemainingRequest(this);
8
var params = loaderUtils.parseQuery(this.query);
9
10
- var opts = { from: file, to: file };
+ var opts = { from: file, to: file, map: { prev: map, inline: false } };
11
if ( params.safe ) opts.safe = true;
12
13
var processors = this.options.postcss;
0 commit comments