@expo/metro-config
Version:
A Metro config for running React Native projects with the Metro bundler
5 lines (4 loc) • 329 B
TypeScript
/** Wraps `findWorkspaceRoot` and guards against having an empty `package.json` file in an upper directory. */
export declare function getWorkspaceRoot(projectRoot: string): string | null;
export declare function getModulesPaths(projectRoot: string): string[];
export declare function getServerRoot(projectRoot: string): string;