tobie/module-grapher — Issue #2: requiring index.js as 'folder' or 'folder/index' shouldn't break relative requires.
Author: tobie
Created: 2011-11-13 23:01:53+00:00
State: open

Requiring `foo/index.js` through `require('foo')` resolves relative module identifiers as if they were required at the level of the `foo` directory. This is incorrect and should be fixed.