Skip to content

Commit 2b63873

Browse files
committed
fix: add callback while error
1 parent 4c29fb9 commit 2b63873

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class InlineSourceWebpackPlugin {
3939
cb(null, data);
4040
})
4141
.catch(error => {
42+
cb(null, data);
4243
compilation.errors.push(error);
4344
});
4445
}

0 commit comments

Comments
 (0)