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 d7fdabd commit 05dd98dCopy full SHA for 05dd98d
Parse-Dashboard/public/favicon.ico
-14.7 KB
webpack/plugins/svg-prep.js
@@ -23,9 +23,9 @@ function SvgPrepPlugin(options) {
23
}
24
25
SvgPrepPlugin.prototype.apply = function(compiler) {
26
- compiler.hooks.emit.tap('SvgPrepPlugin', compilation => {
+ compiler.hooks.emit.tapAsync('SvgPrepPlugin', (compilation, callback) => {
27
if (!this.options.source) {
28
- return;
+ return callback();
29
30
31
// TODO: Keep track of file hashes, so we can avoid recompiling when none have changed
@@ -43,6 +43,8 @@ SvgPrepPlugin.prototype.apply = function(compiler) {
43
return sprited.length;
44
45
};
46
+
47
+ callback();
48
});
49
50
0 commit comments