Skip to content

Commit 1ea87ef

Browse files
committed
Update JsonpExportMainTemplatePlugin.js
Fix: `TypeError: Object #<JsonpExportMainTemplatePlugin> has no method 'applyPluginsWaterfall'` This is the same bug as was fixed in webpack@614891e
1 parent f099723 commit 1ea87ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/JsonpExportMainTemplatePlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function JsonpExportMainTemplatePlugin(name) {
1010
module.exports = JsonpExportMainTemplatePlugin;
1111
JsonpExportMainTemplatePlugin.prototype.apply = function(mainTemplate) {
1212
mainTemplate.plugin("render", function(source, chunk, hash) {
13-
var name = this.applyPluginsWaterfall("asset-path", this.name || "", {
13+
var name = mainTemplate.applyPluginsWaterfall("asset-path", this.name || "", {
1414
hash: hash,
1515
chunk: chunk
1616
});

0 commit comments

Comments
 (0)