Modular-Dev / format-phone

Convert text to international friendly phone number format
MIT License
3 stars 5 forks source link

Import only what you need from lodash #3

Open mxdubois opened 8 years ago

mxdubois commented 8 years ago

Hey, it looks like your built file contains all of lodash@4.6.1 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!