Skip to content

Get rid of lodash and swap it out for lodash-es #2311

Open
@fabis94

Description

@fabis94

Is your feature request related to a problem? Please describe.

The CJS build of lodash is old and not very well optimized for web use cases (hard to tree-shake). So far I've been able to alias lodash to lodash-es in my build config, but then you recently introduced calls to lodash/fp which basically broke all of that.

That was a bad call IMO and just made it more of a chore to get your library working in web environments, especially if you don't want to bundle in all of lodash.

Describe the solution you'd like

Get rid of lodash usages and swap them all out for lodash-es

Describe alternatives you've considered

Doesn't have to be lodash-es necessarily, just something new that has a proper tree-shakeable ESM build

Framework

Vue

RendererSet

Vanilla

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions