mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 12:21:01 +00:00
1 line
3.2 KiB
Plaintext
1 line
3.2 KiB
Plaintext
{"dependencies":[{"name":"./getDevServer","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":8,"column":0,"index":174},"end":{"line":8,"column":42,"index":216}}],"key":"WKfBgnKYQ+362ADqmV6Rh2L8YC4=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n function _interopDefault(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n exports.buildUrlForBundle = buildUrlForBundle;\n var _getDevServer = require(_dependencyMap[0], \"./getDevServer\");\n var getDevServer = _interopDefault(_getDevServer);\n /**\n * Copyright © 2022 650 Industries.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n /**\n * Given a path and some optional additional query parameters, create the dev server bundle URL.\n * @param bundlePath like `/foobar`\n * @param params like `{ platform: \"web\" }`\n * @returns a URL like \"/foobar.bundle?platform=android&modulesOnly=true&runModule=false&runtimeBytecodeVersion=null\"\n */\n function buildUrlForBundle(bundlePath) {\n if (/^https?:\\/\\//.test(bundlePath)) {\n return bundlePath;\n }\n const {\n url: baseURL\n } = (0, getDevServer.default)();\n return baseURL ? new URL(bundlePath, baseURL).toString() : `//${bundlePath.replace(/^\\/+/, '')}`;\n }\n});","lineCount":37,"map":[[12,2,16,0,"exports"],[12,9,16,0],[12,10,16,0,"buildUrlForBundle"],[12,27,16,0],[12,30,16,0,"buildUrlForBundle"],[12,47,16,0],[13,2,8,0],[13,6,8,0,"_getDevServer"],[13,19,8,0],[13,22,8,0,"require"],[13,29,8,0],[13,30,8,0,"_dependencyMap"],[13,44,8,0],[14,2,8,0],[14,6,8,0,"getDevServer"],[14,18,8,0],[14,21,8,0,"_interopDefault"],[14,36,8,0],[14,37,8,0,"_getDevServer"],[14,50,8,0],[15,2,1,0],[16,0,2,0],[17,0,3,0],[18,0,4,0],[19,0,5,0],[20,0,6,0],[22,2,10,0],[23,0,11,0],[24,0,12,0],[25,0,13,0],[26,0,14,0],[27,0,15,0],[28,2,16,7],[28,11,16,16,"buildUrlForBundle"],[28,28,16,33,"buildUrlForBundle"],[28,29,16,34,"bundlePath"],[28,39,16,52],[28,41,16,62],[29,4,17,2],[29,8,17,6],[29,22,17,20],[29,23,17,21,"test"],[29,27,17,25],[29,28,17,26,"bundlePath"],[29,38,17,36],[29,39,17,37],[29,41,17,39],[30,6,18,4],[30,13,18,11,"bundlePath"],[30,23,18,21],[31,4,19,2],[32,4,20,2],[32,10,20,8],[33,6,20,10,"url"],[33,9,20,13],[33,11,20,15,"baseURL"],[34,4,20,23],[34,5,20,24],[34,8,20,27],[34,12,20,27,"getDevServer"],[34,24,20,39],[34,25,20,39,"default"],[34,32,20,39],[34,34,20,40],[34,35,20,41],[35,4,21,2],[35,11,21,9,"baseURL"],[35,18,21,16],[35,21,21,19],[35,25,21,23,"URL"],[35,28,21,26],[35,29,21,27,"bundlePath"],[35,39,21,37],[35,41,21,39,"baseURL"],[35,48,21,46],[35,49,21,47],[35,50,21,48,"toString"],[35,58,21,56],[35,59,21,57],[35,60,21,58],[35,63,21,61],[35,68,21,66,"bundlePath"],[35,78,21,76],[35,79,21,77,"replace"],[35,86,21,84],[35,87,21,85],[35,93,21,91],[35,95,21,93],[35,97,21,95],[35,98,21,96],[35,100,21,98],[36,2,22,0],[37,0,22,1],[37,3]],"functionMap":{"names":["<global>","buildUrlForBundle"],"mappings":"AAA;OCe;CDM"},"hasCjsExports":false},"type":"js/module"}]} |