source: trip-planner-front/node_modules/@babel/helper-define-polyfill-provider/lib/debug-utils.js@ 6c1585f

Last change on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

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