Skip to content

deprecate modular build packages? #3838

@jedwards1211

Description

@jedwards1211

I recently discovered that all of the lodash.assign, lodash.isstring, lodash.isobject, etc. packages I've been using were larger than I would have expected, and take up quite a bit of space in my webpack bundles, and that I could save plenty of space by requiring lodash/assign, lodash/isString, etc. instead. It seems like all libraries that depend on modular build packages should make this switch. Deprecating would encourage library authors to get the ball rolling on this change. (I have my own jscodeshift script I've been using to make this change to my own packages and would be happy to release it publically).

Or is there something I misunderstand? Do the modular build packages really have any advantages over lodash anymore?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions