npm.io
57.0.16 • Published 5d ago

@expo/metro-runtime

Licence
MIT
Version
57.0.16
Deps
5
Size
32 kB
Vulns
0
Weekly
0
Stars
52.2K

@expo/metro-runtime

Injects runtime code required for advanced Metro bundling features in the Expo ecosystem.

Usage

expo-router users do not need to install this package, it is already included.

yarn add @expo/metro-runtime

Import this somewhere in the initial bundle. For example, the App.js:

import '@expo/metro-runtime';

expo/metro-config will automatically move this import to be first in the bundle.