Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix async inc main #29

Merged
2 commits merged into from Jul 30, 2013
Merged

Fix async inc main #29

2 commits merged into from Jul 30, 2013

Conversation

thlorenz
Copy link
Contributor

sync resolve already found index.js if "main" field in package.json was incorrectly specified (same way that nodejs does).
This fix makes async resolve behave the same way.

Without the whites pace this time :)

- resolver test shows that async resolve fails when main field in package.json is incorrect
- resolver_sync test shows that sync resolve finds index.js under same circumstance
@ghost ghost merged commit 62a5726 into browserify:master Jul 30, 2013
@ghost
Copy link

ghost commented Jul 30, 2013

Published in 0.4.1.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant