Skip to content

Commit 614891e

Browse files
committed
bug fix webpack#427
1 parent bd02534 commit 614891e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/AmdMainTemplatePlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ AmdMainTemplatePlugin.prototype.apply = function(mainTemplate) {
2020
return "__WEBPACK_EXTERNAL_MODULE_" + m.id + "__";
2121
}).join(", ");
2222
if(this.name) {
23-
var name = this.applyPluginsWaterfall("asset-path", this.name, {
23+
var name = mainTemplate.applyPluginsWaterfall("asset-path", this.name, {
2424
hash: hash,
2525
chunk: chunk
2626
});

0 commit comments

Comments
 (0)