Skip to content

Commit fa2cd8b

Browse files
committed
Merge pull request webpack#393 from qraynaud/master
Add a semi-colon at the end of the UMD template
2 parents 4810ac7 + 3c4284f commit fa2cd8b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/UmdMainTemplatePlugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ UmdMainTemplatePlugin.prototype.apply = function(mainTemplate) {
9191
" for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n" +
9292
" }\n"
9393
) +
94-
"})(this, function(" + externalsArguments + ") {\nreturn ", "webpack/universalModuleDefinition"), source, "\n})\n");
94+
"})(this, function(" + externalsArguments + ") {\nreturn ", "webpack/universalModuleDefinition"), source, "\n});\n");
9595
}.bind(this));
9696
mainTemplate.plugin("global-hash", function(chunk) {
9797
if(Template.REGEXP_HASH.test([].concat(this.name || "").join("|")))
@@ -101,4 +101,4 @@ UmdMainTemplatePlugin.prototype.apply = function(mainTemplate) {
101101
hash.update("umd");
102102
hash.update(this.name + "");
103103
}.bind(this));
104-
};
104+
};

0 commit comments

Comments
 (0)