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.
1 parent 15caf43 commit 012cc29Copy full SHA for 012cc29
index.js
@@ -35,7 +35,8 @@ module.exports = function(source, map) {
35
36
const handleWarning = warning => this.emitWarning(new Error(warning));
37
38
- options.preprocess = { filename: compileOptions.filename };
+ options.preprocess = options.preprocess || {};
39
+ options.preprocess.filename = compileOptions.filename;
40
41
preprocess(source, options.preprocess).then(processed => {
42
if (processed.dependencies && this.addDependency) {
0 commit comments