Skip to content

docs(getting-started): create the Expo babel config with expo customize - #5210

Merged
Doberjohn merged 1 commit into
mainfrom
@Doberjohn/getting-started-expo-babel
Nov 12, 2026
Merged

Doberjohn merged 1 commit into
mainfrom
@Doberjohn/getting-started-expo-babel

Conversation

@Doberjohn

Copy link
Copy Markdown
Collaborator

Motivation

In a new Expo SDK 58 app, npm can leave babel-preset-expo only under node_modules/expo/node_modules, so a babel.config.js written from the guide fails with Cannot find module 'babel-preset-expo'. The guide now creates it with npx expo customize babel.config.js, which installs the preset. The Community CLI sample uses @react-native/babel-preset.

Related issue

Part of #4991

Screenshots / Videos

None needed: docs text only.

Test plan

In a fresh blank-typescript app with Paper alpha.2, the hand-written file fails npx expo export:embed. After npx expo customize babel.config.js and the env block, it passes and production builds rewrite Paper imports. yarn lint and the docs build pass.

@github-actions

Copy link
Copy Markdown

Found potential problems with the pull request:

  • Screenshot or video evidence is missing. Make sure to include one if it affects the UI.

@Doberjohn
Doberjohn merged commit 8cd8e89 into main Nov 12, 2026
13 checks passed
@Doberjohn
Doberjohn deleted the @Doberjohn/getting-started-expo-babel branch November 12, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant