You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have this configuration in my webpack.config.js:
alias: {// Not needed in this buildhandlebars: false,// https://github.com/webpack/webpack/pull/12693#issuecomment-914079083filenamify: "filenamify/browser",// Silently improve tree-shakeability and AMD-related errors lodash: "lodash-es",// Lighter jQuery versionjquery: "jquery/dist/jquery.slim.min.js",},
In which every lodash import is mapped to lodash-es. This doesn't seem to be picked up by knip, which requires either ignoreDependencies or paths: https://knip.dev/reference/configuration#paths
Can this field be automatically picked up instead? Both for local aliases and node_module aliases
The text was updated successfully, but these errors were encountered:
Suggest an idea for Knip
I have this configuration in my webpack.config.js:
In which every
lodash
import is mapped tolodash-es
. This doesn't seem to be picked up by knip, which requires eitherignoreDependencies
orpaths
: https://knip.dev/reference/configuration#pathsCan this field be automatically picked up instead? Both for local aliases and
node_module
aliasesThe text was updated successfully, but these errors were encountered: