diff --git a/apps/mobile/scripts/with-follow-assets.js b/apps/mobile/scripts/with-follow-assets.js index 0847f4c411..e94680af35 100644 --- a/apps/mobile/scripts/with-follow-assets.js +++ b/apps/mobile/scripts/with-follow-assets.js @@ -21,7 +21,7 @@ const isAssetReady = (assetsPath) => { const withFollowAssets = (config, props) => { if (!isAssetReady(props.assetsPath)) { // TODO move to props - const cmd = "pnpm --filter @follow/rn-micro-web-app build" + const cmd = `pnpm --filter @follow/rn-micro-web-app build --outDir ${path.resolve(props.assetsPath, "html-renderer")}` console.info(`Assets source directory not found! Running \`${cmd}\` to generate assets.`) execSync(cmd) }