javascript - Check which npm package installs lodash dependency -


i using webpack build production bundle application, , lodash, although have not explicitly installed , not exist in package.json, being inserted in node_modules folder.

when run npm uninstall --save-dev lodash (which removes lodash folder node_modules), , rerun build process, bundle shrinks significantly. determine package includes , requires full lodash library.

how can determine of many npm packages requiring lodash?


note:

i using packages lodash.debounce , lodash.throttle. lodash.throttle has dependency of lodash.debounce , lodash.debounce not have other lodash dependencies.


Comments