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

Changed the Node resolving to be more reliable, fixing some issues #173

Merged
merged 1 commit into from
May 10, 2017

Conversation

dlmr
Copy link
Member

@dlmr dlmr commented May 10, 2017

Sometimes _resolveFilename will be called without parent.id being present which would result in a crash with the previous logic. This change addresses this and instead uses parent.paths[0] for the same functionality.

This solves in particular some problems that have been seen when used together with babel-plugin-lodash.

Sometimes _resolveFilename will be called without parent.id being
present which would result in a crash with the previous logic. This
change addresses this and instead uses parent.paths[0] for the same
functionality.

This solves in particular some problems that have been seen when used
together with babel-plugin-lodash.
@dlmr dlmr merged commit 18c618f into master May 10, 2017
@dlmr dlmr deleted the fix/improve-resolve-filename branch May 10, 2017 08:55
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