We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c2f74b commit 81c25a8Copy full SHA for 81c25a8
1 file changed
lib/HotModuleReplacementPlugin.js
@@ -104,9 +104,6 @@ HotModuleReplacementPlugin.prototype.apply = function(compiler) {
104
this.assets[filename] = source;
105
});
106
107
- var mainTemplate = compilation.mainTemplate;
108
- compilation.mainTemplate = Object.create(mainTemplate);
109
-
110
compilation.mainTemplate.plugin("hash", function(hash) {
111
hash.update("HotMainTemplateDecorator");
112
@@ -512,4 +509,4 @@ var hotInitCode = Template.getFunctionContent(function() {
512
509
hotSetStatus("idle");
513
510
callback(null, outdatedModules);
514
511
}
515
-});
+});
0 commit comments