Skip to content
This repository was archived by the owner on Feb 25, 2020. It is now read-only.

Commit d33a16d

Browse files
committed
fix: make sure index.js is common js
1 parent 5b69fff commit d33a16d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/* eslint-disable import/no-commonjs */
22

3-
import throwIfWrongVersion from './throwIfWrongVersion';
4-
53
module.exports = {
64
get createAppContainer() {
75
return require('./createAppContainer').default;
@@ -43,9 +41,9 @@ module.exports = {
4341
},
4442

4543
get createNavigationFactory() {
46-
return throwIfWrongVersion;
44+
return require('./throwIfWrongVersion').default;
4745
},
4846
get NavigationContainer() {
49-
return throwIfWrongVersion;
47+
return require('./throwIfWrongVersion').default;
5048
},
5149
};

0 commit comments

Comments
 (0)