lukeed / clsx

A tiny (239B) utility for constructing `className` strings conditionally.
MIT License
8.12k stars 140 forks source link

Update readme.md #32

Closed FDiskas closed 3 years ago

FDiskas commented 3 years ago

Updated readme to display bundle size automatically. Removed hard coded value

codecov-io commented 3 years ago

Codecov Report

Merging #32 (378f995) into master (74cefa6) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #32   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           22        22           
=========================================
  Hits            22        22           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 74cefa6...378f995. Read the comment docs.

lukeed commented 3 years ago

Hi, thank you but I prefer the way it is. It shares format with my other packages.

Plus bundlephobia, when under 1kb, bundlephobia often reports values larger than what they actually are. I have the tooling in place to build the production versions, so it's no trouble to just display the known value.

Thank you though :)