UNPKG

@expo/metro-config

Version:

A Metro config for running React Native projects with the Metro bundler

18 lines (17 loc) 509 B
import type { TransformOptions } from './babel-core'; export type ExpoBabelCaller = TransformOptions['caller'] & { supportsReactCompiler?: boolean; isReactServer?: boolean; isHMREnabled?: boolean; isServer?: boolean; isNodeModule?: boolean; preserveEnvVars?: boolean; isDev?: boolean; asyncRoutes?: boolean; baseUrl?: string; engine?: string; bundler?: 'metro' | (string & object); platform?: string | null; routerRoot?: string; projectRoot: string; };