import { isEqual } from 'lodash-es';
is importing the entire library. I am using Rollup which should do tree shaking by default.
Whenever I've written my own modules, this named import syntax works and Rollup successfully tree shakes, so I'm a bit confused as to why it won't work with Lodash.