UNPKG

@expo/metro-runtime

Version:

Tools for making advanced Metro bundler features work

20 lines (12 loc) 445 B
# @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. ```js yarn add @expo/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.