@expo/metro-runtime
Version:
Tools for making advanced Metro bundler features work
14 lines • 595 B
TypeScript
/**
* Copyright © 2022 650 Industries.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* 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): string;
//# sourceMappingURL=buildUrlForBundle.d.ts.map