Skip to content

Commit 7c83f08

Browse files
committed
fixed disabled require.ensure
1 parent 152c173 commit 7c83f08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/MainTemplate.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ MainTemplate.prototype.renderRequireExtensions = function(hash, chunk) {
123123
buf.push("// The bundle contains no chunks. A empty chunk loading function.");
124124
buf.push(this.requireFn + ".e = function requireEnsure(_, callback) {");
125125
buf.push(this.indent([
126-
"callback.call(null, require);"
126+
"callback.call(null, this);"
127127
]));
128128
buf.push("};");
129129
} else {

0 commit comments

Comments
 (0)