Don't use local alias in react-native-implementation
Summary: Nuclide's export detection for modules doesn't resolve local aliases. Lets just export the object directly. Reviewed By: mostafaeweda Differential Revision: D10443054 fbshipit-source-id: 880aa1eadff554903eb765d7104ecf3c3b72cbce
This commit is contained in:
parent
d6c8f189e7
commit
c95fdb0505
|
@ -15,7 +15,7 @@ const invariant = require('fbjs/lib/invariant');
|
|||
let showedListViewDeprecation = false;
|
||||
|
||||
// Export React, plus some native additions.
|
||||
const ReactNative = {
|
||||
module.exports = {
|
||||
// Components
|
||||
get AccessibilityInfo() {
|
||||
return require('AccessibilityInfo');
|
||||
|
@ -340,5 +340,3 @@ const ReactNative = {
|
|||
);
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = ReactNative;
|
||||
|
|
Loading…
Reference in New Issue