Skip to content

Commit a6b02f0

Browse files
committed
fixed smaller bundles commit
1 parent aa21d14 commit a6b02f0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎lib/MainTemplate.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ function MainTemplate(outputOptions) {
2121
var buf = [];
2222
if(chunk.entryModule) {
2323
buf.push("// Load entry module and return exports");
24-
buf.push("return " + this.renderRequireFunctionForModule(hash, chunk, this.requireFn + ".s = " + chunk.entryModule.id + ";") +
25-
"(" + this.requireFn + ".s);");
24+
buf.push("return " + this.renderRequireFunctionForModule(hash, chunk, this.requireFn + ".s = " + chunk.entryModule.id) +
25+
"(" + this.requireFn + ".s = " + chunk.entryModule.id + ");");
2626
}
2727
return this.asString(buf);
2828
});

0 commit comments

Comments
 (0)