Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import only what you need from lodash #3

Open
mxdubois opened this issue Oct 7, 2016 · 0 comments
Open

Import only what you need from lodash #3

mxdubois opened this issue Oct 7, 2016 · 0 comments

Comments

@mxdubois
Copy link

mxdubois commented Oct 7, 2016

Hey, it looks like your built file contains all of [email protected] whereas it should really only contain the functions that you use.

You can fix this pretty easily by requireing the function files directly instead of requireing the toplevel lodash object, e.g. var some = require('lodash/some').

That aside, this looks like a handy library. Thanks for publishing it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant