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

[breaking] Turn off providesModuleNodeModules by default #410

Closed
wants to merge 1 commit into from

Conversation

ide
Copy link
Contributor

@ide ide commented May 31, 2019

(This is a draft PR until we completely replace Haste in RN.)

Summary

Sets the default value of providesModuleNodeModules to an empty array, since Haste is going away from RN. This is a breaking change and metro and metro-config's major semver needs to be bumped.

Test plan

Modify my copy of metro-config under RN so that providesModuleNodeModules defaults to an empty array, start the packager with --reset-cache, and load the RNTester bundle successfully.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 31, 2019
Sets the default value of `providesModuleNodeModules` to an empty array, since Haste is going away from RN. **This is a breaking change and metro and metro-config's major semver needs to be bumped.**

Test Plan: Modify my copy of metro-config under RN so that `providesModuleNodeModules` defaults to an empty array, start the packager with `--reset-cache`, and load the RNTester bundle successfully.
@ide
Copy link
Contributor Author

ide commented Jun 5, 2019

cpojer is taking this even further with a grander sacrifice to the grim code reaper, closing this out.

@ide ide closed this Jun 5, 2019
@ide ide deleted the no-more-providesmodule branch June 5, 2019 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants