Closed nmn closed 4 months ago
compressed-size: runtime library
Size change: 0.00 kB Total size: 2.52 kB
compressed-size: e2e bundles
Size change: -4.19 kB Total size: 1128.74 kB
Filename: gzip (minify) | kB size | kB change | % change | |
---|---|---|---|---|
./apps/rollup-example/.build/bundle.js |
1005.32 (10185.35) | -1.31 (-2.91) | -0.1% (-0.0%) | 🟢 |
./apps/rollup-example/.build/stylex.css |
123.42 (774.34) | -2.88 (-21.83) | -2.3% (-2.7%) | 🟢 |
Not dropping units for various
0
values leads to a significant increase in the size of the generated CSS file.So this PR, brings back this particular strategy to drop units from
0
values while keeping thefr
and%
units and taking a more measured approach. If any other unit needs to be maintained, we can work on that in the future.