Skip to content

Commit 4b4592e

Browse files
committed
bug fix jsonp template plugin
1 parent 87db2e2 commit 4b4592e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/JsonpMainTemplatePlugin.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ JsonpMainTemplatePlugin.prototype.apply = function(mainTemplate) {
104104
"return installedChunks[chunkId][2] = promise;"
105105
]);
106106
});
107-
this.plugin("require-extensions", function(source, chunk) {
107+
mainTemplate.plugin("require-extensions", function(source, chunk) {
108108
if(chunk.chunks.length === 0) return source;
109109
return this.asString([
110110
source,

0 commit comments

Comments
 (0)