Skip to content

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

Merged
dlmr merged 1 commit intomasterfrom
fix/improve-resolve-filename
May 10, 2017
Merged

Changed the Node resolving to be more reliable, fixing some issues#173
dlmr merged 1 commit intomasterfrom
fix/improve-resolve-filename

Conversation

@dlmr
Copy link
Copy Markdown
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