@expo/metro-runtime
Version:
Tools for making advanced Metro bundler features work
20 lines (12 loc) • 445 B
Markdown
# for advanced Metro bundling features in the Expo ecosystem.
## Usage
> `expo-router` users do not need to install this package, it is already included.
```js
yarn add /metro-runtime
```
Import this somewhere in the initial bundle. For example, the `App.js`:
```js
import '@expo/metro-runtime';
```
`expo/metro-config` will automatically move this import to be first in the bundle.
/metro-runtime
Injects runtime code required