Closed RichardHelm closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
d61b119
) to head (a17f54b
). Report is 1048 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Adds
sideEffects
property to package.json which allows bundlers to tree-shake unused components. Example bundle with just button being used goes from1.35 MiB
to95 KiB
.Vivid component code is itself is considered by bundlers to have side-effects, which is why it is not tree-shakable out of the box. This property allows bundlers to skip going into the component files in the first place, so they don't get included anymore.