Files
Fluxup_PAP/node_modules/@expo/metro-config/build/babel-transformer.d.ts
2026-03-10 16:18:05 +00:00

22 lines
708 B
TypeScript

import type { TransformOptions } from './babel-core';
export type ExpoBabelCaller = TransformOptions['caller'] & {
babelRuntimeVersion?: string;
metroSourceType?: 'script' | 'module' | 'asset';
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;
/** When true, indicates this bundle should contain only the loader export */
isLoaderBundle?: boolean;
};