Skip to content

to be lightweight templates for React, we shouldn't bundle lodash into the build #233

@rileylnapier

Description

@rileylnapier

im a little bit upset about having 7kb bloating my build because of this library.

these seem to be what you need based on poking around the library: map, assign, defaults, keys, pick, identity, transform

i don't think it would be that difficult to move to native functions and/or writing some of the used lodash dependencies from scratch. im ok with using lodash to build the js file from the template, but im not happy with having to include lodash in my prod bundle.

im using babel-lodash plugin to minimize the lodash but 7kb that could be reduced does not equate "lightweight"

image

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