mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Include React itself in the list of shims (#7453)
Without this we end up bundling all of the isomorphic React into the DOM bundle. This was fixed in #7168 too but I'll just do an early fix to ensure that #7168 is purely an npm change.
This commit is contained in:
committed by
GitHub
parent
34c4474472
commit
ca9167c202
@@ -22,6 +22,7 @@ var shimSharedModules = globalShim.configure({
|
||||
// The methods we used here are exposed on the main React export.
|
||||
// TODO: Change all renderer code to require the isomorphic React directly
|
||||
// instead of these internals.
|
||||
'./React': 'React',
|
||||
'./ReactElement': 'React',
|
||||
'./ReactPropTypes': 'React.PropTypes',
|
||||
'./ReactChildren': 'React.Children',
|
||||
|
||||
Reference in New Issue
Block a user