We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c4b8f2 commit 74e927fCopy full SHA for 74e927f
1 file changed
lib/HotModuleReplacementPlugin.js
@@ -192,6 +192,8 @@ var hotInitCode = Template.getFunctionContent(function() {
192
hotCurrentParent = moduleId;
193
return $require$(request);
194
};
195
+ for(var name in $require$)
196
+ fn[name] = $require$[name];
197
fn.e = function(chunkId, callback) {
198
if(hotStatus === "ready")
199
hotSetStatus("prepare");
@@ -215,8 +217,6 @@ var hotInitCode = Template.getFunctionContent(function() {
215
217
}
216
218
});
219
- for(var name in $require$)
- fn[name] = $require$[name];
220
return fn;
221
222
0 commit comments