yarn why?
a few seconds agoIf you have an npm package and donβt know why do you have it? try this
$ yarn why lodash
yarn why v1.22.17
[1/4] π€ Why do we have the module "lodash"...?
[2/4] π Initialising dependency graph...
[3/4] π Finding dependency...
[4/4] π‘ Calculating file sizes...
=> Found "lodash@4.17.21"
info Has been hoisted to "lodash"
info Reasons this module exists
- Specified in "dependencies"
- Hoisted from "eslint#lodash"
- Hoisted from "v-tooltip#lodash"
- Hoisted from "html-webpack-plugin#lodash"
- Hoisted from "@vue#test-utils#lodash"...