I'm aliasing lodash
to lodash-es
in webpack (#939) to improve tree-shakeability, and I thought that knip's own paths
config (https://knip.dev/reference/configuration#paths) would tell knip that import 'lodash'
actually means import 'lodash-es'
:
export default {
paths: {
lodash: ["lodash-es"],
},
}
But unfortunately it does not seem to work for node_modules
Unused dependencies (1)
lodash-es apps/browser-extension/package.json:101:6
Unlisted dependencies (190)
lodash libs/util-common/src/utils/pathHelpers.test.ts
...........and 189 more
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too