tobie/module-grapher — Issue #3: should module-grapher support checking lib directory in external packages?
Author: willbailey
Created: 2011-11-27 04:32:44+00:00
State: open

I'm trying to use modulr to require a separate commonJS package outside of my project. Since the package provides a package.json file, I was hoping that module-grapher would automatically look in:

/Users/me/workspace/foo/lib/index.js

when I load foo as

require('foo')

provided I've included /Users/me/workspace in my paths configuration.

Currently it appears to only look in:

/Users/me/workspace/foo/index.js

Is this a bug or are external packages not yet supported?