mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-24 04:25:34 +08:00
fix: make sure index.js is common js
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
/* eslint-disable import/no-commonjs */
|
||||
|
||||
import throwIfWrongVersion from './throwIfWrongVersion';
|
||||
|
||||
module.exports = {
|
||||
get createAppContainer() {
|
||||
return require('./createAppContainer').default;
|
||||
@@ -43,9 +41,9 @@ module.exports = {
|
||||
},
|
||||
|
||||
get createNavigationFactory() {
|
||||
return throwIfWrongVersion;
|
||||
return require('./throwIfWrongVersion').default;
|
||||
},
|
||||
get NavigationContainer() {
|
||||
return throwIfWrongVersion;
|
||||
return require('./throwIfWrongVersion').default;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user