chore(mobile-app): align native build metadata
This commit is contained in:
@@ -13,8 +13,11 @@ const readPng = (relativePath) => {
|
||||
fail('manifest is missing an App asset path');
|
||||
return undefined;
|
||||
}
|
||||
const path = resolve(projectRoot, 'src', relativePath);
|
||||
if (!existsSync(path)) {
|
||||
const path = [
|
||||
resolve(projectRoot, 'src', relativePath),
|
||||
resolve(projectRoot, relativePath)
|
||||
].find(existsSync);
|
||||
if (!path) {
|
||||
fail(`missing asset: ${relativePath}`);
|
||||
return undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user