mirror of https://github.com/status-im/metro.git
Fix open source
Summary: Unfortunately ReactTestUtils requires ReactDOM (for renderIntoDocument), and ReactTestUtils is required by ReactNative. This worked internally because we already shimmed ReactDOM for Relay; now we shim it externally too, at least until we figure out a better solution for this in React. public Reviewed By: vjeux Differential Revision: D2629811 fb-gh-sync-id: 94aac2c4eda39d039fdcedd88295e7afb0f5c5b2
This commit is contained in:
parent
1d1006449e
commit
24bac5ee05
|
@ -15,6 +15,7 @@ var path = require('path');
|
|||
var sharedBlacklist = [
|
||||
'node_modules/react-haste/renderers/shared/event/eventPlugins/ResponderEventPlugin.js',
|
||||
'node_modules/react-haste/React.js',
|
||||
'node_modules/react-haste/renderers/dom/ReactDOM.js',
|
||||
|
||||
// For each of these fbjs files (especially the non-forks/stubs), we should
|
||||
// consider deleting the conflicting copy and just using the fbjs version.
|
||||
|
|
Loading…
Reference in New Issue