oclif/cli-ux

Use of lodash results in large bundle size

Opened this issue · 1 comments

Hi! Loving the work that's gone into oclif, we've just started using it heavily for a CLI we intend to distribute to developers.

One thing I've noticed is that when pulling in @oclif/cli-ux as a dependency to do things like spinners, that my bundle size grows significantly (an additional ~5Mb) due to the use of lodash. Would you be willing to accept a PR that removed the few uses of lodash in favour of vendoring in the needed functionality?

jdx commented

I'm open to the idea. In general I've tried to keep the number of dependencies down for oclif so this seems like a natural progression of that.