@expo/metro-runtime
Version:
Tools for making advanced Metro bundler features work
10 lines (8 loc) • 322 B
text/typescript
/**
* Copyright © 2024 650 Industries.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { buildAsyncRequire } from './buildAsyncRequire';
global[`${global.__METRO_GLOBAL_PREFIX__ ?? ''}__loadBundleAsync`] = buildAsyncRequire();