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.
(cherry picked from commit ca9167c202)
This commit is contained in:
Sebastian Markbåge authored and Paul O’Shannessy committed 2016-10-03 16:08:28 -07:00
1 parent 8426fafe90
commit 556bd43a26
1 file changed
+1
+1
View File
@@ -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',