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

Correctly replace shims using relative requires #11472

Merged
merged 1 commit into from
Nov 6, 2017

Conversation

gaearon
Copy link
Collaborator

@gaearon gaearon commented Nov 6, 2017

This is a gross hack for a problem I didn't notice when doing ES conversion.

Rollup alias plugin doesn't understand that react/src/ReactCurrentOwner and ./ReactCurrentOwner in react/src are the same file, so it fails to apply the custom www shim when referenced via relative path.

I'll add finding a proper fix to follow up task but I've verified this is enough to unblock the sync.

@gaearon gaearon mentioned this pull request Nov 6, 2017
19 tasks
@gaearon gaearon merged commit 2c228f1 into facebook:master Nov 6, 2017
@gaearon gaearon deleted the fix-rollup-www branch November 6, 2017 17:01
Ethan-Arrowood pushed a commit to Ethan-Arrowood/react that referenced this pull request Dec 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants