Skip to content

Lodash tree-shaking #350

@mikerockett

Description

@mikerockett

I’ve pin-pointed in a project that lodash is not tree-shaken within the tailwind code base. As such, I’m not able to shake it myself as tailwind pulls the _ object in, making my attempts redundant.

Given that tailwind doesn’t use much of lodash, I think it would be a good decision to ‘shake things up’ 😉.

Aside…

I’m new to all of this (world of webpack and modules), but a colleague has also told me about the modularised version of lodash. Can’t see how it’s better than shaking, but perhaps also worth consideration…

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions