-
-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(minifier): minify String::concat
into template literal
#8443
base: main
Are you sure you want to change the base?
feat(minifier): minify String::concat
into template literal
#8443
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
6ab26ad
to
0ab0835
Compare
db5beeb
to
72dc0d1
Compare
CodSpeed Performance ReportMerging #8443 will not alter performanceComparing Summary
|
0ab0835
to
a031cb7
Compare
72dc0d1
to
0a5a1c2
Compare
a031cb7
to
a024338
Compare
0a5a1c2
to
fb985ab
Compare
a024338
to
9900d1e
Compare
fb985ab
to
d6df4f8
Compare
Merge activity
|
Then it shouldn't 😅 what's broken? |
9900d1e
to
df9b2d1
Compare
Compress `"".concat(a, "b", c)` into `` `${a}b${c}` ``. I'm not sure if this should be merged. It works for antd but it doesn't for typescript. **References** - [Spec of `String::concat`](https://tc39.es/ecma262/multipage/text-processing.html#sec-string.prototype.concat) - [Spec of template literal](https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#sec-template-literals-runtime-semantics-evaluation)
d6df4f8
to
f928cb5
Compare
Ah, I just mean it makes the output larger when gziped. It's not broken.
|
df9b2d1
to
991a22f
Compare
Compress `"".concat(a, "b", c)` into `` `${a}b${c}` ``. I'm not sure if this should be merged. It works for antd but it doesn't for typescript. **References** - [Spec of `String::concat`](https://tc39.es/ecma262/multipage/text-processing.html#sec-string.prototype.concat) - [Spec of template literal](https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#sec-template-literals-runtime-semantics-evaluation)
f928cb5
to
917a5e7
Compare
Compress `"".concat(a, "b", c)` into `` `${a}b${c}` ``. I'm not sure if this should be merged. It works for antd but it doesn't for typescript. **References** - [Spec of `String::concat`](https://tc39.es/ecma262/multipage/text-processing.html#sec-string.prototype.concat) - [Spec of template literal](https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#sec-template-literals-runtime-semantics-evaluation)
917a5e7
to
6e1122d
Compare
Compress `"".concat(a, "b", c)` into `` `${a}b${c}` ``. I'm not sure if this should be merged. It works for antd but it doesn't for typescript. **References** - [Spec of `String::concat`](https://tc39.es/ecma262/multipage/text-processing.html#sec-string.prototype.concat) - [Spec of template literal](https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#sec-template-literals-runtime-semantics-evaluation)
6e1122d
to
8e33ea8
Compare
Compress `"".concat(a, "b", c)` into `` `${a}b${c}` ``. I'm not sure if this should be merged. It works for antd but it doesn't for typescript. **References** - [Spec of `String::concat`](https://tc39.es/ecma262/multipage/text-processing.html#sec-string.prototype.concat) - [Spec of template literal](https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#sec-template-literals-runtime-semantics-evaluation)
8e33ea8
to
2540d75
Compare
Compress `"".concat(a, "b", c)` into `` `${a}b${c}` ``. I'm not sure if this should be merged. It works for antd but it doesn't for typescript. **References** - [Spec of `String::concat`](https://tc39.es/ecma262/multipage/text-processing.html#sec-string.prototype.concat) - [Spec of template literal](https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#sec-template-literals-runtime-semantics-evaluation)
2540d75
to
a252a7a
Compare
Compress `"".concat(a, "b", c)` into `` `${a}b${c}` ``. I'm not sure if this should be merged. It works for antd but it doesn't for typescript. **References** - [Spec of `String::concat`](https://tc39.es/ecma262/multipage/text-processing.html#sec-string.prototype.concat) - [Spec of template literal](https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#sec-template-literals-runtime-semantics-evaluation)
a252a7a
to
044b0ff
Compare
I'm not sure why the gzip works better for TypeScript without this PR. Maybe it's because |
Compress
"".concat(a, "b", c)
into`${a}b${c}`
.I'm not sure if this should be merged. It works for antd but it doesn't for typescript.
References
String::concat