feat: optimize the literal value of unary expressions#5812
feat: optimize the literal value of unary expressions#5812lukastaegert merged 2 commits intomasterfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thank you for your contribution! ❤️You can try out this pull request locally by installing Rollup via npm install rollup/rollup#optimize-unary-expressionsNotice: Ensure you have installed the latest stable Rust toolchain. If you haven't installed it yet, please see https://www.rust-lang.org/tools/install to learn how to download Rustup and install Rust. or load it into the REPL: |
Performance report
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5812 +/- ##
=======================================
Coverage 98.79% 98.79%
=======================================
Files 260 260
Lines 8116 8119 +3
Branches 1369 1371 +2
=======================================
+ Hits 8018 8021 +3
Misses 72 72
Partials 26 26 ☔ View full report in Codecov by Sentry. |
c2099f3 to
43c7712
Compare
43c7712 to
7cde5ec
Compare
817b281 to
4df25ac
Compare
|
This PR has been released as part of rollup@4.33.0. You can test it via |
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
Description
Optimize the literal value of unary expressions to enhance tree-shaking.