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 bee3b21 commit 04023afCopy full SHA for 04023af
index.js
@@ -71,7 +71,10 @@ module.exports = function(source, map) {
71
}
72
73
callback(null, js.code, js.map);
74
- }, err => callback(err)).catch(err => {
+ }, err => {
75
+ this.addDependency(err.file);
76
+ callback(err);
77
+ }).catch(err => {
78
// wrap error to provide correct
79
// context when logging to console
80
callback(new Error(`${err.name}: ${err.toString()}`));
0 commit comments