Added support for building mobile applications with Expo

This commit is contained in:
Aman Varshney
2025-03-29 12:31:51 +05:30
parent 228f24d6db
commit 1c66d64be5
90 changed files with 981 additions and 204 deletions

View File

@@ -35,6 +35,20 @@ export function generateReproducibleCommand(config: ProjectConfig): string {
flags.push(`--runtime ${config.runtime}`);
}
if (config.frontend) {
if (config.frontend.includes("web")) {
flags.push("--web");
} else {
flags.push("--no-web");
}
if (config.frontend.includes("native")) {
flags.push("--native");
} else {
flags.push("--no-native");
}
}
if (config.addons.length > 0) {
for (const addon of config.addons) {
flags.push(`--${addon}`);