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 issues with the new fork plugin #11723

Merged
merged 1 commit into from
Nov 30, 2017
Merged

Conversation

gaearon
Copy link
Collaborator

@gaearon gaearon commented Nov 30, 2017

Found a few issues:

  • Some Node versions crash when null character gets passed to path utils. Fixing this by ignoring Rollup internal path identifiers that start with it.
  • require.resolve() only supports the paths option since Node 8.9.0. So I'm adding another way to do it for older Nodes based on what ESLint did.

Copy link
Contributor

@trueadm trueadm left a comment

Choose a reason for hiding this comment

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

LGTM

@gaearon gaearon merged commit 060581b into facebook:master Nov 30, 2017
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