UNPKG

@expo/metro-config

Version:

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

17 lines (16 loc) 860 B
declare class Env { /** Enable debug logging */ get EXPO_DEBUG(): boolean; /** Prevent disabling the `x_facebook_sources` non-standard sourcemap extension when `EXPO_USE_EXOTIC` is enabled. */ get EXPO_USE_FB_SOURCES(): boolean; /** Enable the experimental "exotic" mode. [Learn more](https://blog.expo.dev/drastically-faster-bundling-in-react-native-a54f268e0ed1). */ get EXPO_USE_EXOTIC(): boolean; /** The React Metro port that's baked into react-native scripts and tools. */ get RCT_METRO_PORT(): number; /** Enable auto server root detection for Metro. This will change the server root to the workspace root. */ get EXPO_USE_METRO_WORKSPACE_ROOT(): boolean; /** Disable Environment Variable injection in client bundles. */ get EXPO_NO_CLIENT_ENV_VARS(): boolean; } export declare const env: Env; export {};