UNPKG

@bacons/expo-metro-runtime

Version:

Tools for making experimental Metro bundler features work

8 lines (7 loc) 414 B
/** * Given a path and some optional additional query parameters, create the dev server bundle URL. * @param bundlePath like `/foobar` * @param params like `{ platform: "web" }` * @returns a URL like "/foobar.bundle?platform=android&modulesOnly=true&runModule=false&runtimeBytecodeVersion=null" */ export declare function buildUrlForBundle(bundlePath: string, params?: Record<string, string | null>): string;