@devries-cameron20 / t3code Mirror · read-only / commits / 2e2d86cd6f
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 22, 14:30 UTC

chore(mobile): e2e Metro serves no lazy chunks

On the pool's Android emulators, lazily fetched chunks for dynamic import() sometimes arrived broken and threw SyntaxErrors, which the app reported as a share import failure on launch. Release builds have no lazy chunks either. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Julius Marminge committed Oct 27, 2026 at 18:34 UTC 2e2d86cd6f34b9b0dea9150a552aa0869c220bd7
1 file changed +3 -1
scripts/mobile-e2e.ts
+3 -1
@@ -224,7 +224,9 @@ async function main() {
224 ],
225 {
226 cwd: NodePath.join(REPO_ROOT, "apps/mobile"),
227 - env: { ...NodeProcess.env, APP_VARIANT: "development", CI: "1" },
227 + // Lazily fetched chunks (dynamic import()) sometimes arrive broken on the pool's Android
228 + // emulators and throw SyntaxErrors; release builds have no lazy chunks either.
229 + env: { ...NodeProcess.env, APP_VARIANT: "development", CI: "1", EXPO_NO_METRO_LAZY: "1" },
230 // The app's console output arrives through Metro; keep it with the run.
231 stdio: [
232 "ignore",