projectwallace / format-css

Fast, small, zero-config library to format CSS using basic rules.
https://www.projectwallace.com/blog/tiny-css-formatter
MIT License
10 stars 0 forks source link

Move print functions inside main fn to avoid weird globals #73

Closed bartveneman closed 1 month ago

codecov[bot] commented 1 month ago

Bundle Report

Changes will decrease total bundle size by 33 bytes :arrow_down:

Bundle name Size Change
formatCss-formatCss-esm 4.76kB 81 bytes :arrow_up:
formatCss-formatCss-esm-formatCss-umd 3.53kB 114 bytes :arrow_down:
codspeed-hq[bot] commented 1 month ago

CodSpeed Performance Report

Merging #73 will improve performances by 34.29%

Comparing no-globals (4f1748d) with main (ed08605)

Summary

⚡ 1 improvements ✅ 3 untouched benchmarks

Benchmarks breakdown

Benchmark main no-globals Change
nerdy.dev.css (70.6kB) 263.2 ms 196 ms +34.29%