Earlier quoted context omitted.
Hey, author here. I'm very open to ideas to reduce bloat. It's 140 SLOC and ~1.1kb gzipped without lodash/throttle. I considered writing my own throttle, but wanted something more battle-tested. Does Rollup produce a more efficient bundle in your experience?
rollup can only load the functions of lodash you actually use into your bundle
import throttle from 'lodash/throttle';
rather than import { throttle } from 'lodash';