From 212cff942bc396893f5720aa62cd13372ec25b96 Mon Sep 17 00:00:00 2001 From: neodk2004 Date: Sun, 6 Sep 2026 20:39:27 +0200 Subject: [PATCH] chore(mobile): add .easignore to keep native folders out of EAS builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit An untracked local android/ folder (from an earlier expo run:android) was inflating the build archive to 365MB and, more importantly, was making EAS Build treat the project as "bare workflow" — building that stale native folder as-is instead of regenerating it from app.json via Continuous Native Generation. Deleted the folder locally and excluded it (plus ios/, node_modules, IDE state) from future archives so a stray prebuild output can't silently make app.json changes stop taking effect. --- mobile/.easignore | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 mobile/.easignore diff --git a/mobile/.easignore b/mobile/.easignore new file mode 100644 index 0000000..567c90c --- /dev/null +++ b/mobile/.easignore @@ -0,0 +1,23 @@ +# EAS Build archive exclusions — see mobile/.gitignore for the reasoning +# behind most of these; this file matters because EAS's archiving isn't +# strictly limited to git-tracked files, so untracked local artifacts +# (an accidental `expo prebuild`/`expo run:android` output, IDE state, +# etc.) can otherwise get swept into the upload. + +# Local native prebuild output — regenerated fresh by EAS's Continuous +# Native Generation from app.json on every build. Keeping this out of the +# archive isn't just about upload size: if either folder is present, EAS +# treats the project as "bare workflow" and builds it as-is instead of +# regenerating from app.json, silently ignoring app.json changes. +/android +/ios + +.idea +.expo +.vscode + +# Never needed — EAS installs dependencies itself on the build worker. +node_modules + +# Not part of this app. +.git