This is exactly why bundle size optimization and tree-shaking have become such critical skills. Half of modern web dev is trying to un-stitch the bloated parts we didn't actually need.
It’s wild that we install a massive ecosystem just to use one function, and then spend hours configuration-tuning our bundlers to strip out the other 95% of the bloat we pulled in. It’s a strange cycle.