Skip to content

Commit fc157ae

Browse files
committed
removed unused line
1 parent 8a7e171 commit fc157ae

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎lib/UmdMainTemplateDecorator.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ function UmdMainTemplateDecorator(mainTemplate, name) {
1212
module.exports = UmdMainTemplateDecorator;
1313
UmdMainTemplateDecorator.prototype.render = function(hash, chunk, moduleTemplate, dependencyTemplates) {
1414
var source = this.mainTemplate.render(hash, chunk, moduleTemplate, dependencyTemplates);
15-
var prefix = "module.exports =\n";
1615
return new ConcatSource(new OriginalSource(
1716
"(function webpackUniversalModuleDefinition(root) {\n" +
1817
" return function webpackUniversalModuleDefinitionWrapBootstrap(fn) {\n" +
@@ -40,4 +39,4 @@ UmdMainTemplateDecorator.prototype.updateHash = function(hash) {
4039
hash.update("umd");
4140
hash.update(this.name + "");
4241
this.mainTemplate.updateHash(hash);
43-
};
42+
};

0 commit comments

Comments
 (0)