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:
Sebastian Markbåge
2016-08-09 15:33:34 -07:00
committed by GitHub
parent 34c4474472
commit ca9167c202
+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',