charlierudolph / dependency-lint

Lints NPM dependencies and devDependencies
MIT License
14 stars 6 forks source link

webpack and dependency-lint #49

Closed alexander-akait closed 7 years ago

alexander-akait commented 7 years ago

I am use context option for webpack, it is allow use require('shared/js/polyfills'), but i if run dependency-lint i get error:

devDependencies:
  ✖ shared (missing)
      used in files:
        src/containers/app/app.js

Perhaps it is worth adding an option to avoid such situations and right interpretation require paths.

alexander-akait commented 7 years ago

I close due to inactivity, feel free reopen if you have interest for this.