Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cli): pass engine to metro in production #25175

Merged
merged 2 commits into from Nov 2, 2023

Conversation

EvanBacon
Copy link
Contributor

Why

Missed this part when implementing the engine flag.

How

Test Plan

Checklist

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Nov 2, 2023
Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Nov 2, 2023
@EvanBacon EvanBacon merged commit e321ff7 into main Nov 2, 2023
7 checks passed
@EvanBacon EvanBacon deleted the @evanbacon/cli/pass-engine-to-metro branch November 2, 2023 18:04
@Kudo Kudo mentioned this pull request Nov 2, 2023
2 tasks
Kudo added a commit that referenced this pull request Nov 3, 2023
# Why

fix ci failure: https://github.com/expo/expo/runs/18313114066

# How

since #25175 was landed, we were now bundling with `unstable_transformProfile=default` and `customTransformOptions=hermes`. that is not quite correct. @EvanBacon suggests that we could have **app.json** and `npx expo export:embed` could based on it to generate correct bundles.

this pr adds temporary **app.json** with `jsEngine=jsc` and cleanup the file after that. then the **app.json** will not appear in final npm package.

# Test Plan

SDK ci passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: fingerprint changed bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants