@fto-consult/expo-ui 5.6.9 → 5.6.10
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/expo-ui-path.js +1 -1
- package/package.json +1 -1
package/expo-ui-path.js
CHANGED
|
@@ -20,7 +20,7 @@ module.exports = function (){
|
|
|
20
20
|
try {
|
|
21
21
|
const envPath = path.resolve(rootPath,".env");
|
|
22
22
|
const envObj = fs.existsSync(envPath)? require("./parse-env")(fs.readFileSync(envPath,'utf8')) : {};
|
|
23
|
-
const euPathm = typeof envObj.
|
|
23
|
+
const euPathm = typeof envObj.EXPO_UI_ROOT_PATH =="string" && envObj.EXPO_UI_ROOT_PATH && path.resolve(envObj.EXPO_UI_ROOT_PATH)||'';
|
|
24
24
|
const eu = euPathm && fs.existsSync(euPathm)? euPathm : null;
|
|
25
25
|
console.log(eu," is eu path and env object is",envObj," is env objecct feeeeee");
|
|
26
26
|
if(eu && fs.existsSync(path.resolve(eu,"src")) && fs.existsSync(path.resolve(eu,"webpack.config.js"))){
|