mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 19:11:02 +00:00
1 line
2.2 KiB
Plaintext
1 line
2.2 KiB
Plaintext
{"dependencies":[],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = void 0;\n function openFileInEditor(file, lineNumber) {\n if (process.env.NODE_ENV !== 'production') {\n // TODO: This is not a great URL since it now blocks users from accessing the `/open-stack-frame` url in their router\n // ideally it would be something like `/_devtools/open-stack-frame`.\n const baseUrl = window.location.protocol + '//' + window.location.host;\n fetch(baseUrl + '/open-stack-frame', {\n method: 'POST',\n body: JSON.stringify({\n file,\n lineNumber\n })\n });\n }\n }\n var _default = exports.default = openFileInEditor;\n});","lineCount":21,"map":[[6,2,3,0],[6,11,3,9,"openFileInEditor"],[6,27,3,25,"openFileInEditor"],[6,28,3,26,"file"],[6,32,3,38],[6,34,3,40,"lineNumber"],[6,44,3,58],[6,46,3,60],[7,4,4,2],[7,8,4,6,"process"],[7,15,4,13],[7,16,4,14,"env"],[7,19,4,17],[7,20,4,18,"NODE_ENV"],[7,28,4,26],[7,33,4,31],[7,45,4,43],[7,47,4,45],[8,6,5,4],[9,6,6,4],[10,6,7,4],[10,12,7,10,"baseUrl"],[10,19,7,17],[10,22,7,20,"window"],[10,28,7,26],[10,29,7,27,"location"],[10,37,7,35],[10,38,7,36,"protocol"],[10,46,7,44],[10,49,7,47],[10,53,7,51],[10,56,7,54,"window"],[10,62,7,60],[10,63,7,61,"location"],[10,71,7,69],[10,72,7,70,"host"],[10,76,7,74],[11,6,9,4,"fetch"],[11,11,9,9],[11,12,9,10,"baseUrl"],[11,19,9,17],[11,22,9,20],[11,41,9,39],[11,43,9,41],[12,8,10,6,"method"],[12,14,10,12],[12,16,10,14],[12,22,10,20],[13,8,11,6,"body"],[13,12,11,10],[13,14,11,12,"JSON"],[13,18,11,16],[13,19,11,17,"stringify"],[13,28,11,26],[13,29,11,27],[14,10,11,29,"file"],[14,14,11,33],[15,10,11,35,"lineNumber"],[16,8,11,46],[16,9,11,47],[17,6,12,4],[17,7,12,5],[17,8,12,6],[18,4,13,2],[19,2,14,0],[20,2,14,1],[20,6,14,1,"_default"],[20,14,14,1],[20,17,14,1,"exports"],[20,24,14,1],[20,25,14,1,"default"],[20,32,14,1],[20,35,16,15,"openFileInEditor"],[20,51,16,31],[21,0,16,31],[21,3]],"functionMap":{"names":["<global>","openFileInEditor"],"mappings":"AAA;ACE;CDW"}},"type":"js/module"}]} |