Fix resolving of modules found under a parent directory path in Windows #4

Merged
merged 1 commit into from Apr 12, 2012

Conversation

Projects
None yet
2 participants
@nateps
Contributor

nateps commented Apr 2, 2012

The regular expression used to split paths only worked on UNIX, causing module lookups within parent directories to fail. Fixed by pulling in appropriate logic from node/module

https://github.com/joyent/node/blob/master/lib/module.js#L214

@substack substack merged commit 5e7e24b into browserify:master Apr 12, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment