Skip to content

Commit 10c45eb

Browse files
committed
Merge pull request webpack#529 from plaxdan/master
JsonpExportMainTemplatePlugin has no method 'applyPluginsWaterfall'
2 parents f099723 + 1ea87ef commit 10c45eb

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)