[build-tools] Use production mode for app config, prebuild, and Expo Doctor - #4180
Draft
ramonclaudio wants to merge 6 commits into
Draft
[build-tools] Use production mode for app config, prebuild, and Expo Doctor#4180ramonclaudio wants to merge 6 commits into
ramonclaudio wants to merge 6 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4180 +/- ##
==========================================
+ Coverage 63.32% 63.41% +0.10%
==========================================
Files 1025 1027 +2
Lines 46786 46825 +39
Branches 9865 9817 -48
==========================================
+ Hits 29624 29691 +67
- Misses 15707 17033 +1326
+ Partials 1455 101 -1354 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This was referenced Aug 12, 2026
ramonclaudio
force-pushed
the
@ramonclaudio/dvt-119-eas-config-mode-handoff
branch
from
August 13, 2026 13:48
0822cb4 to
bdc5d2b
Compare
|
✅ Thank you for adding the changelog entry! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
EAS Build can use a user-defined
NODE_ENVwhen it reads app config or runs Expo commands. This can make it load a different.envfile for the same build.How
EAS Build now uses production mode when it reads app config or runs prebuild and Expo Doctor.
EAS Build sets
NODE_ENVfor older Expo versions and the@expo/configfallback. Current Expo tools receive the same mode throughEXPO_CONFIG_MODE.Dependency installs still use the user's original env.
Test Plan
@expo/build-toolstestscorepack yarn typecheckcorepack yarn buildcorepack yarn lintcorepack yarn fmt:checkcorepack yarn actionlint@expo/build-toolsprepack check