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

Adding basedir to fix node resolver #154

Merged
merged 3 commits into from
Nov 13, 2018

Conversation

csabascript
Copy link
Contributor

@csabascript csabascript commented Nov 1, 2018

in case you use node-resolve instead of the default browser-resolve the visitor fails as it can't find the required relative file from the currently visited, as the basedir is not set.

@goto-bus-stop
Copy link
Member

This seems like a good idea. Could you add a test?

@csabascript
Copy link
Contributor Author

Thanks for the quick reply. Added some tests, please advise if you had something else in mind.

@csabascript
Copy link
Contributor Author

@goto-bus-stop thoughts?

Copy link
Member

@goto-bus-stop goto-bus-stop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@goto-bus-stop goto-bus-stop merged commit 230d988 into browserify:master Nov 13, 2018
@goto-bus-stop
Copy link
Member

📦 6.2.0
thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants