source: imaps-frontend/node_modules/@babel/helper-define-polyfill-provider/lib/debug-utils.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 731 bytes
RevLine 
[79a0317]1"use strict";
2
3exports.__esModule = true;
4exports.presetEnvSilentDebugHeader = void 0;
5exports.stringifyTargets = stringifyTargets;
6exports.stringifyTargetsMultiline = stringifyTargetsMultiline;
7var _helperCompilationTargets = require("@babel/helper-compilation-targets");
8const presetEnvSilentDebugHeader = "#__secret_key__@babel/preset-env__don't_log_debug_header_and_resolved_targets";
9exports.presetEnvSilentDebugHeader = presetEnvSilentDebugHeader;
10function stringifyTargetsMultiline(targets) {
11 return JSON.stringify((0, _helperCompilationTargets.prettifyTargets)(targets), null, 2);
12}
13function stringifyTargets(targets) {
14 return JSON.stringify(targets).replace(/,/g, ", ").replace(/^\{"/, '{ "').replace(/"\}$/, '" }');
15}
Note: See TracBrowser for help on using the repository browser.