@fto-consult/expo-ui 1.1.14 → 1.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -11,8 +11,8 @@ export default function ExpoUIApp (options){
|
|
|
11
11
|
const expoUIPath = require("./expo-ui-production-path");
|
|
12
12
|
if(expoUIPath && !expoUIPath.includes("@fto-consult/")){
|
|
13
13
|
const path = (expoUIPath+"/").replace("//","/")+"src/index";
|
|
14
|
-
console.log("found local expo-ui dev index path at ",
|
|
15
|
-
return require(`${path}`)(options);
|
|
14
|
+
console.log("found local expo-ui dev index path at ",path," from expo-ui path : ",expoUIPath);
|
|
15
|
+
return require(`${path}`).default(options);
|
|
16
16
|
}
|
|
17
17
|
const appConfig = require("$capp/config").default;
|
|
18
18
|
options = options && typeof options =='object' && !Array.isArray(options)? options : {};
|