xref: /expo/packages/@expo/metro-runtime/README.md (revision 47f2bcdc)
1# @expo/metro-runtime
2
3Injects runtime code required for advanced Metro bundling features in the Expo ecosystem.
4
5## Usage
6
7> `expo-router` users do not need to install this package, it is already included.
8
9```js
10yarn add @expo/metro-runtime
11```
12
13Import this somewhere in the initial bundle. For example, the `App.js`:
14
15```js
16import '@expo/metro-config';
17```
18
19`expo/metro-config` will automatically move this import to be first in the bundle.
20