main
Last change
on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
731 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | exports.__esModule = true;
|
---|
4 | exports.presetEnvSilentDebugHeader = void 0;
|
---|
5 | exports.stringifyTargets = stringifyTargets;
|
---|
6 | exports.stringifyTargetsMultiline = stringifyTargetsMultiline;
|
---|
7 | var _helperCompilationTargets = require("@babel/helper-compilation-targets");
|
---|
8 | const presetEnvSilentDebugHeader = "#__secret_key__@babel/preset-env__don't_log_debug_header_and_resolved_targets";
|
---|
9 | exports.presetEnvSilentDebugHeader = presetEnvSilentDebugHeader;
|
---|
10 | function stringifyTargetsMultiline(targets) {
|
---|
11 | return JSON.stringify((0, _helperCompilationTargets.prettifyTargets)(targets), null, 2);
|
---|
12 | }
|
---|
13 | function stringifyTargets(targets) {
|
---|
14 | return JSON.stringify(targets).replace(/,/g, ", ").replace(/^\{"/, '{ "').replace(/"\}$/, '" }');
|
---|
15 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.