When resolving a require()
fails with MODULE_NOT_FOUND
(Error: Cannot find module 'dep' from 'parent'
), report the requiring
module's pathname instead of just its directory.
Installation:
browserify-require-not-found-parent
on npm.
Usage:
var browserifyRequireNotFoundParent = ;
See:
https://github.com/substack/node-resolve/pull/64