∃ ∀ hot-update.js for isHotUpdateCompilation
This commit is contained in:
parent
52f53faf45
commit
05d6694743
2
index.js
2
index.js
|
|
@ -359,7 +359,7 @@ HtmlWebpackPlugin.prototype.filterChunks = function (webpackStatsJson, includedC
|
|||
};
|
||||
|
||||
HtmlWebpackPlugin.prototype.isHotUpdateCompilation = function (assets) {
|
||||
return assets.js.every(function (name) {
|
||||
return assets.js.length && assets.js.every(function (name) {
|
||||
return /\.hot-update\.js$/.test(name);
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue