@@ -11374,15 +11374,6 @@ merge(Compressor.prototype, {
1137411374 if (!tag) status = typeof trimmed;
1137511375 }
1137611376 if (!tag && strs.length > 1) {
11377- if (strs[0] == "") return make_node(AST_Binary, self, {
11378- operator: "+",
11379- left: exprs[0],
11380- right: make_node(AST_Template, self, {
11381- expressions: exprs.slice(1),
11382- strings: strs.slice(1),
11383- tag: tag,
11384- }).transform(compressor),
11385- }).optimize(compressor);
1138611377 if (strs[strs.length - 1] == "") return make_node(AST_Binary, self, {
1138711378 operator: "+",
1138811379 left: make_node(AST_Template, self, {
@@ -11392,6 +11383,15 @@ merge(Compressor.prototype, {
1139211383 }).transform(compressor),
1139311384 right: exprs[exprs.length - 1],
1139411385 }).optimize(compressor);
11386+ if (strs[0] == "") return make_node(AST_Binary, self, {
11387+ operator: "+",
11388+ left: exprs[0],
11389+ right: make_node(AST_Template, self, {
11390+ expressions: exprs.slice(1),
11391+ strings: strs.slice(1),
11392+ tag: tag,
11393+ }).transform(compressor),
11394+ }).optimize(compressor);
1139511395 }
1139611396 self.expressions = exprs;
1139711397 self.strings = strs;
0 commit comments