fix: make sure index.js is common js

This commit is contained in:
Satyajit Sahoo
2020-02-04 23:30:32 +01:00
parent 636e424870
commit 3175965395

View File

@@ -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;
},
};