nitro-nightly 3.0.1-20260120-020848-6786d069 → 3.0.1-20260120-133849-ca1a9dee
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_build/common.mjs +24931 -0
- package/dist/_build/rolldown.mjs +6 -11
- package/dist/_build/rollup.mjs +201 -0
- package/dist/_build/vite.build.mjs +1 -1
- package/dist/_chunks/dev.mjs +4 -6
- package/dist/_chunks/nitro.mjs +1183 -24
- package/dist/_chunks/nitro2.mjs +91 -248
- package/dist/_chunks/utils.mjs +254 -0
- package/dist/_common.mjs +45 -0
- package/dist/_libs/c12+giget+readdirp+chokidar.d.mts +214 -0
- package/dist/_libs/citty.mjs +140 -110
- package/dist/_libs/commondir+is-reference.mjs +1300 -0
- package/dist/_libs/compatx.d.mts +47 -0
- package/dist/_libs/confbox.mjs +2488 -70
- package/dist/_libs/esbuild.d.mts +20 -0
- package/dist/_libs/escape-string-regexp.mjs +8 -0
- package/dist/_libs/estree-walker.mjs +187 -0
- package/dist/_libs/hasown+resolve+deepmerge.mjs +1972 -0
- package/dist/_libs/httpxy.d.mts +79 -0
- package/dist/_libs/httpxy.mjs +6 -1
- package/dist/_libs/klona.mjs +38 -0
- package/dist/_libs/magic-string.d.mts +220 -0
- package/dist/_libs/mlly.d.mts +57 -0
- package/dist/_libs/nypm+giget+tinyexec.mjs +3603 -0
- package/dist/_libs/pkg-types.d.mts +23 -0
- package/dist/_libs/plugin-alias.mjs +64 -0
- package/dist/_libs/{plugin-alias+plugin-inject.mjs → plugin-inject.mjs} +2 -65
- package/dist/_libs/plugin-json.mjs +36 -0
- package/dist/_libs/pluginutils+plugin-commonjs.d.mts +241 -0
- package/dist/_libs/pluginutils.mjs +652 -0
- package/dist/_libs/{c12+dotenv+rc9.mjs → rc9+c12+dotenv.mjs} +105 -12
- package/dist/_libs/{chokidar+readdirp.mjs → readdirp+chokidar.mjs} +8 -1
- package/dist/_libs/remapping.mjs +117 -0
- package/dist/_libs/resolve-uri+gen-mapping.mjs +448 -0
- package/dist/_libs/rou3.d.mts +43 -0
- package/dist/_libs/rou3.mjs +322 -0
- package/dist/_libs/std-env.d.mts +4 -0
- package/dist/_libs/tsconfck.mjs +832 -0
- package/dist/_libs/ultrahtml.mjs +138 -0
- package/dist/_libs/{gen-mapping+remapping+resolve-uri+trace-mapping+unimport+unplugin+unplugin-utils+webpack-virtual-modules.mjs → unimport+unplugin.mjs} +228 -593
- package/dist/_libs/unplugin+unimport.d.mts +426 -0
- package/dist/_libs/unwasm.d.mts +29 -0
- package/dist/_presets.mjs +3 -8
- package/dist/builder.mjs +6 -8
- package/dist/cli/_chunks/build.mjs +1 -1
- package/dist/cli/_chunks/dev.mjs +2 -3
- package/dist/cli/_chunks/list.mjs +1 -1
- package/dist/cli/_chunks/prepare.mjs +1 -1
- package/dist/cli/_chunks/run.mjs +1 -1
- package/dist/cli/_chunks/task.mjs +16 -0
- package/dist/cli/index.mjs +1 -1
- package/dist/presets/aws-lambda/runtime/_utils.d.mts +0 -5
- package/dist/presets/netlify/runtime/netlify-edge.d.mts +0 -1
- package/dist/presets/winterjs/runtime/winterjs.d.mts +0 -1
- package/dist/runtime/internal/error/dev.d.mts +0 -1
- package/dist/runtime/internal/route-rules.d.mts +0 -4
- package/dist/runtime/internal/routes/openapi.d.mts +0 -1
- package/dist/runtime/internal/routes/scalar.d.mts +0 -1
- package/dist/runtime/internal/routes/swagger.d.mts +0 -1
- package/dist/runtime/internal/runtime-config.d.mts +0 -1
- package/dist/runtime/nitro.d.mts +0 -3
- package/dist/runtime/virtual/renderer-template.d.mts +0 -1
- package/dist/types/index.d.mts +25 -1394
- package/dist/vite.mjs +18 -641
- package/package.json +5 -5
- package/dist/_chunks/nitro3.mjs +0 -2696
- package/dist/_chunks/nitro4.mjs +0 -176
- package/dist/_chunks/nitro5.mjs +0 -733
- package/dist/_chunks/nitro6.mjs +0 -1458
- package/dist/_chunks/nitro7.mjs +0 -7561
- package/dist/_chunks/nitro8.mjs +0 -3524
- package/dist/_chunks/nitro9.mjs +0 -1729
- package/dist/_libs/_.mjs +0 -3
- package/dist/_libs/_2.mjs +0 -3
- package/dist/_libs/_3.mjs +0 -4
- package/dist/_libs/_4.mjs +0 -6
- package/dist/_libs/_5.mjs +0 -3
- package/dist/_libs/_6.mjs +0 -3
- package/dist/_libs/acorn+confbox+js-tokens+magic-string+mlly+pkg-types+sourcemap-codec+strip-literal+unimport.mjs +0 -8900
- package/dist/_libs/confbox+exsolve+pkg-types.mjs +0 -1249
- package/dist/_libs/confbox2.mjs +0 -786
- package/dist/_libs/confbox3.mjs +0 -404
- package/dist/_libs/confbox4.mjs +0 -3
- package/dist/_libs/estree-walker+unimport.mjs +0 -378
- package/dist/_libs/fdir+picomatch+tinyglobby.mjs +0 -2471
- package/dist/_libs/giget+node-fetch-native.mjs +0 -2692
- package/dist/_libs/local-pkg+quansync+unimport.mjs +0 -1526
- package/dist/_libs/nypm+tinyexec.mjs +0 -858
- package/dist/_libs/pathe.mjs +0 -164
- package/dist/_libs/perfect-debounce.mjs +0 -89
- package/dist/_libs/std-env.mjs +0 -158
- package/dist/_libs/unimport.mjs +0 -9
- package/dist/_libs/vite-plugin-fullstack.mjs +0 -26
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import {
|
|
3
|
-
import { l as resolveModulePath, o as readPackageJSON, r as findWorkspaceDir } from "./confbox+exsolve+pkg-types.mjs";
|
|
4
|
-
import { t as debounce } from "./perfect-debounce.mjs";
|
|
1
|
+
import { i as __toESM, n as __exportAll, r as __require, t as __commonJSMin } from "../_common.mjs";
|
|
2
|
+
import { $ as resolveModulePath, Y as readPackageJSON, at as join$1, ct as resolve$1, nt as dirname$1, ot as normalize$1, q as findWorkspaceDir, rt as extname$1, tt as basename$1 } from "../_build/common.mjs";
|
|
5
3
|
import { existsSync, promises, readFileSync, statSync } from "node:fs";
|
|
6
4
|
import { readFile, rm } from "node:fs/promises";
|
|
7
5
|
import { pathToFileURL } from "node:url";
|
|
@@ -481,8 +479,103 @@ function readUser(options) {
|
|
|
481
479
|
return read(options);
|
|
482
480
|
}
|
|
483
481
|
|
|
482
|
+
//#endregion
|
|
483
|
+
//#region node_modules/.pnpm/perfect-debounce@2.0.0/node_modules/perfect-debounce/dist/index.mjs
|
|
484
|
+
const DEBOUNCE_DEFAULTS = { trailing: true };
|
|
485
|
+
/**
|
|
486
|
+
Debounce functions
|
|
487
|
+
@param fn - Promise-returning/async function to debounce.
|
|
488
|
+
@param wait - Milliseconds to wait before calling `fn`. Default value is 25ms
|
|
489
|
+
@returns A function that delays calling `fn` until after `wait` milliseconds have elapsed since the last time it was called.
|
|
490
|
+
@example
|
|
491
|
+
```
|
|
492
|
+
import { debounce } from 'perfect-debounce';
|
|
493
|
+
const expensiveCall = async input => input;
|
|
494
|
+
const debouncedFn = debounce(expensiveCall, 200);
|
|
495
|
+
for (const number of [1, 2, 3]) {
|
|
496
|
+
console.log(await debouncedFn(number));
|
|
497
|
+
}
|
|
498
|
+
//=> 1
|
|
499
|
+
//=> 2
|
|
500
|
+
//=> 3
|
|
501
|
+
```
|
|
502
|
+
*/
|
|
503
|
+
function debounce(fn, wait = 25, options = {}) {
|
|
504
|
+
options = {
|
|
505
|
+
...DEBOUNCE_DEFAULTS,
|
|
506
|
+
...options
|
|
507
|
+
};
|
|
508
|
+
if (!Number.isFinite(wait)) throw new TypeError("Expected `wait` to be a finite number");
|
|
509
|
+
let leadingValue;
|
|
510
|
+
let timeout;
|
|
511
|
+
let resolveList = [];
|
|
512
|
+
let currentPromise;
|
|
513
|
+
let trailingArgs;
|
|
514
|
+
const applyFn = (_this, args) => {
|
|
515
|
+
currentPromise = _applyPromised(fn, _this, args);
|
|
516
|
+
currentPromise.finally(() => {
|
|
517
|
+
currentPromise = null;
|
|
518
|
+
if (options.trailing && trailingArgs && !timeout) {
|
|
519
|
+
const promise = applyFn(_this, trailingArgs);
|
|
520
|
+
trailingArgs = null;
|
|
521
|
+
return promise;
|
|
522
|
+
}
|
|
523
|
+
});
|
|
524
|
+
return currentPromise;
|
|
525
|
+
};
|
|
526
|
+
const debounced = function(...args) {
|
|
527
|
+
if (options.trailing) trailingArgs = args;
|
|
528
|
+
if (currentPromise) return currentPromise;
|
|
529
|
+
return new Promise((resolve$2) => {
|
|
530
|
+
const shouldCallNow = !timeout && options.leading;
|
|
531
|
+
clearTimeout(timeout);
|
|
532
|
+
timeout = setTimeout(() => {
|
|
533
|
+
timeout = null;
|
|
534
|
+
const promise = options.leading ? leadingValue : applyFn(this, args);
|
|
535
|
+
trailingArgs = null;
|
|
536
|
+
for (const _resolve of resolveList) _resolve(promise);
|
|
537
|
+
resolveList = [];
|
|
538
|
+
}, wait);
|
|
539
|
+
if (shouldCallNow) {
|
|
540
|
+
leadingValue = applyFn(this, args);
|
|
541
|
+
resolve$2(leadingValue);
|
|
542
|
+
} else resolveList.push(resolve$2);
|
|
543
|
+
});
|
|
544
|
+
};
|
|
545
|
+
const _clearTimeout = (timer) => {
|
|
546
|
+
if (timer) {
|
|
547
|
+
clearTimeout(timer);
|
|
548
|
+
timeout = null;
|
|
549
|
+
}
|
|
550
|
+
};
|
|
551
|
+
debounced.isPending = () => !!timeout;
|
|
552
|
+
debounced.cancel = () => {
|
|
553
|
+
_clearTimeout(timeout);
|
|
554
|
+
resolveList = [];
|
|
555
|
+
trailingArgs = null;
|
|
556
|
+
};
|
|
557
|
+
debounced.flush = () => {
|
|
558
|
+
_clearTimeout(timeout);
|
|
559
|
+
if (!trailingArgs || currentPromise) return;
|
|
560
|
+
const args = trailingArgs;
|
|
561
|
+
trailingArgs = null;
|
|
562
|
+
return applyFn(this, args);
|
|
563
|
+
};
|
|
564
|
+
return debounced;
|
|
565
|
+
}
|
|
566
|
+
async function _applyPromised(fn, _this, args) {
|
|
567
|
+
return await fn.apply(_this, args);
|
|
568
|
+
}
|
|
569
|
+
|
|
484
570
|
//#endregion
|
|
485
571
|
//#region node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.mjs
|
|
572
|
+
var dist_exports = /* @__PURE__ */ __exportAll({
|
|
573
|
+
SUPPORTED_EXTENSIONS: () => SUPPORTED_EXTENSIONS,
|
|
574
|
+
loadConfig: () => loadConfig,
|
|
575
|
+
loadDotenv: () => loadDotenv,
|
|
576
|
+
setupDotenv: () => setupDotenv,
|
|
577
|
+
watchConfig: () => watchConfig
|
|
578
|
+
});
|
|
486
579
|
var import_main = /* @__PURE__ */ __toESM(require_main(), 1);
|
|
487
580
|
/**
|
|
488
581
|
* Load and interpolate environment variables into `process.env`.
|
|
@@ -560,11 +653,11 @@ function getDotEnvVars(targetEnvironment) {
|
|
|
560
653
|
}
|
|
561
654
|
const _normalize = (p) => p?.replace(/\\/g, "/");
|
|
562
655
|
const ASYNC_LOADERS = {
|
|
563
|
-
".yaml": () => import("./
|
|
564
|
-
".yml": () => import("./
|
|
565
|
-
".jsonc": () => import("./
|
|
566
|
-
".json5": () => import("./
|
|
567
|
-
".toml": () => import("./
|
|
656
|
+
".yaml": () => import("./confbox.mjs").then((n) => n.a).then((r) => r.parseYAML),
|
|
657
|
+
".yml": () => import("./confbox.mjs").then((n) => n.a).then((r) => r.parseYAML),
|
|
658
|
+
".jsonc": () => import("./confbox.mjs").then((n) => n.t).then((r) => r.parseJSONC),
|
|
659
|
+
".json5": () => import("./confbox.mjs").then((n) => n.o).then((r) => r.parseJSON5),
|
|
660
|
+
".toml": () => import("./confbox.mjs").then((n) => n.r).then((r) => r.parseTOML)
|
|
568
661
|
};
|
|
569
662
|
const SUPPORTED_EXTENSIONS = Object.freeze([
|
|
570
663
|
".js",
|
|
@@ -750,7 +843,7 @@ async function resolveConfig(source, options, sourceOptions = {}) {
|
|
|
750
843
|
const customProviderKeys = Object.keys(sourceOptions.giget?.providers || {}).map((key) => `${key}:`);
|
|
751
844
|
const gigetPrefixes = customProviderKeys.length > 0 ? [...new Set([...customProviderKeys, ...GIGET_PREFIXES])] : GIGET_PREFIXES;
|
|
752
845
|
if (options.giget !== false && gigetPrefixes.some((prefix) => source.startsWith(prefix))) {
|
|
753
|
-
const { downloadTemplate } = await import("./giget+
|
|
846
|
+
const { downloadTemplate } = await import("./nypm+giget+tinyexec.mjs").then((n) => n.t);
|
|
754
847
|
const { digest } = await import("ohash");
|
|
755
848
|
const cloneName = source.replace(/\W+/g, "_").split("_").splice(0, 3).join("_") + "_" + digest(source).slice(0, 10).replace(/[-_]/g, "");
|
|
756
849
|
let cloneDir;
|
|
@@ -831,7 +924,7 @@ async function watchConfig(options) {
|
|
|
831
924
|
options.rcFile && resolve$1(l.cwd, typeof options.rcFile === "string" ? options.rcFile : `.${configName}rc`),
|
|
832
925
|
options.packageJson && resolve$1(l.cwd, "package.json")
|
|
833
926
|
]).filter(Boolean))];
|
|
834
|
-
const watch$1 = await import("./
|
|
927
|
+
const watch$1 = await import("./readdirp+chokidar.mjs").then((n) => n.t).then((r) => r.watch || r.default || r);
|
|
835
928
|
const { diff } = await import("ohash/utils");
|
|
836
929
|
const _fswatcher = watch$1(watchingFiles, {
|
|
837
930
|
ignoreInitial: true,
|
|
@@ -876,4 +969,4 @@ async function watchConfig(options) {
|
|
|
876
969
|
}
|
|
877
970
|
|
|
878
971
|
//#endregion
|
|
879
|
-
export {
|
|
972
|
+
export { debounce as i, loadConfig as n, watchConfig as r, dist_exports as t };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as __exportAll } from "../_common.mjs";
|
|
1
2
|
import { Stats, stat, unwatchFile, watch, watchFile } from "node:fs";
|
|
2
3
|
import { lstat, open, readdir, realpath, stat as stat$1 } from "node:fs/promises";
|
|
3
4
|
import { type } from "node:os";
|
|
@@ -957,6 +958,12 @@ var NodeFsHandler = class {
|
|
|
957
958
|
//#endregion
|
|
958
959
|
//#region node_modules/.pnpm/chokidar@5.0.0/node_modules/chokidar/index.js
|
|
959
960
|
/*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */
|
|
961
|
+
var chokidar_exports = /* @__PURE__ */ __exportAll({
|
|
962
|
+
FSWatcher: () => FSWatcher,
|
|
963
|
+
WatchHelper: () => WatchHelper,
|
|
964
|
+
default: () => chokidar_default,
|
|
965
|
+
watch: () => watch$1
|
|
966
|
+
});
|
|
960
967
|
const SLASH = "/";
|
|
961
968
|
const SLASH_SLASH = "//";
|
|
962
969
|
const ONE_DOT = ".";
|
|
@@ -1601,4 +1608,4 @@ var chokidar_default = {
|
|
|
1601
1608
|
};
|
|
1602
1609
|
|
|
1603
1610
|
//#endregion
|
|
1604
|
-
export { watch$1 as
|
|
1611
|
+
export { watch$1 as n, chokidar_exports as t };
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { a as toDecodedMap, c as decodedMappings, i as setSourceContent, l as traceSegment, n as maybeAddSegment, o as toEncodedMap, r as setIgnore, s as TraceMap, t as GenMapping } from "./resolve-uri+gen-mapping.mjs";
|
|
2
|
+
|
|
3
|
+
//#region node_modules/.pnpm/@jridgewell+remapping@2.3.5/node_modules/@jridgewell/remapping/dist/remapping.mjs
|
|
4
|
+
var SOURCELESS_MAPPING = /* @__PURE__ */ SegmentObject("", -1, -1, "", null, false);
|
|
5
|
+
var EMPTY_SOURCES = [];
|
|
6
|
+
function SegmentObject(source, line, column, name, content, ignore) {
|
|
7
|
+
return {
|
|
8
|
+
source,
|
|
9
|
+
line,
|
|
10
|
+
column,
|
|
11
|
+
name,
|
|
12
|
+
content,
|
|
13
|
+
ignore
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function Source(map, sources, source, content, ignore) {
|
|
17
|
+
return {
|
|
18
|
+
map,
|
|
19
|
+
sources,
|
|
20
|
+
source,
|
|
21
|
+
content,
|
|
22
|
+
ignore
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function MapSource(map, sources) {
|
|
26
|
+
return Source(map, sources, "", null, false);
|
|
27
|
+
}
|
|
28
|
+
function OriginalSource(source, content, ignore) {
|
|
29
|
+
return Source(null, EMPTY_SOURCES, source, content, ignore);
|
|
30
|
+
}
|
|
31
|
+
function traceMappings(tree) {
|
|
32
|
+
const gen = new GenMapping({ file: tree.map.file });
|
|
33
|
+
const { sources: rootSources, map } = tree;
|
|
34
|
+
const rootNames = map.names;
|
|
35
|
+
const rootMappings = decodedMappings(map);
|
|
36
|
+
for (let i = 0; i < rootMappings.length; i++) {
|
|
37
|
+
const segments = rootMappings[i];
|
|
38
|
+
for (let j = 0; j < segments.length; j++) {
|
|
39
|
+
const segment = segments[j];
|
|
40
|
+
const genCol = segment[0];
|
|
41
|
+
let traced = SOURCELESS_MAPPING;
|
|
42
|
+
if (segment.length !== 1) {
|
|
43
|
+
const source2 = rootSources[segment[1]];
|
|
44
|
+
traced = originalPositionFor(source2, segment[2], segment[3], segment.length === 5 ? rootNames[segment[4]] : "");
|
|
45
|
+
if (traced == null) continue;
|
|
46
|
+
}
|
|
47
|
+
const { column, line, name, content, source, ignore } = traced;
|
|
48
|
+
maybeAddSegment(gen, i, genCol, source, line, column, name);
|
|
49
|
+
if (source && content != null) setSourceContent(gen, source, content);
|
|
50
|
+
if (ignore) setIgnore(gen, source, true);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return gen;
|
|
54
|
+
}
|
|
55
|
+
function originalPositionFor(source, line, column, name) {
|
|
56
|
+
if (!source.map) return SegmentObject(source.source, line, column, name, source.content, source.ignore);
|
|
57
|
+
const segment = traceSegment(source.map, line, column);
|
|
58
|
+
if (segment == null) return null;
|
|
59
|
+
if (segment.length === 1) return SOURCELESS_MAPPING;
|
|
60
|
+
return originalPositionFor(source.sources[segment[1]], segment[2], segment[3], segment.length === 5 ? source.map.names[segment[4]] : name);
|
|
61
|
+
}
|
|
62
|
+
function asArray(value) {
|
|
63
|
+
if (Array.isArray(value)) return value;
|
|
64
|
+
return [value];
|
|
65
|
+
}
|
|
66
|
+
function buildSourceMapTree(input, loader) {
|
|
67
|
+
const maps = asArray(input).map((m) => new TraceMap(m, ""));
|
|
68
|
+
const map = maps.pop();
|
|
69
|
+
for (let i = 0; i < maps.length; i++) if (maps[i].sources.length > 1) throw new Error(`Transformation map ${i} must have exactly one source file.
|
|
70
|
+
Did you specify these with the most recent transformation maps first?`);
|
|
71
|
+
let tree = build(map, loader, "", 0);
|
|
72
|
+
for (let i = maps.length - 1; i >= 0; i--) tree = MapSource(maps[i], [tree]);
|
|
73
|
+
return tree;
|
|
74
|
+
}
|
|
75
|
+
function build(map, loader, importer, importerDepth) {
|
|
76
|
+
const { resolvedSources, sourcesContent, ignoreList } = map;
|
|
77
|
+
const depth = importerDepth + 1;
|
|
78
|
+
return MapSource(map, resolvedSources.map((sourceFile, i) => {
|
|
79
|
+
const ctx = {
|
|
80
|
+
importer,
|
|
81
|
+
depth,
|
|
82
|
+
source: sourceFile || "",
|
|
83
|
+
content: void 0,
|
|
84
|
+
ignore: void 0
|
|
85
|
+
};
|
|
86
|
+
const sourceMap = loader(ctx.source, ctx);
|
|
87
|
+
const { source, content, ignore } = ctx;
|
|
88
|
+
if (sourceMap) return build(new TraceMap(sourceMap, source), loader, source, depth);
|
|
89
|
+
return OriginalSource(source, content !== void 0 ? content : sourcesContent ? sourcesContent[i] : null, ignore !== void 0 ? ignore : ignoreList ? ignoreList.includes(i) : false);
|
|
90
|
+
}));
|
|
91
|
+
}
|
|
92
|
+
var SourceMap = class {
|
|
93
|
+
constructor(map, options) {
|
|
94
|
+
const out = options.decodedMappings ? toDecodedMap(map) : toEncodedMap(map);
|
|
95
|
+
this.version = out.version;
|
|
96
|
+
this.file = out.file;
|
|
97
|
+
this.mappings = out.mappings;
|
|
98
|
+
this.names = out.names;
|
|
99
|
+
this.ignoreList = out.ignoreList;
|
|
100
|
+
this.sourceRoot = out.sourceRoot;
|
|
101
|
+
this.sources = out.sources;
|
|
102
|
+
if (!options.excludeContent) this.sourcesContent = out.sourcesContent;
|
|
103
|
+
}
|
|
104
|
+
toString() {
|
|
105
|
+
return JSON.stringify(this);
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
function remapping(input, loader, options) {
|
|
109
|
+
const opts = typeof options === "object" ? options : {
|
|
110
|
+
excludeContent: !!options,
|
|
111
|
+
decodedMappings: false
|
|
112
|
+
};
|
|
113
|
+
return new SourceMap(traceMappings(buildSourceMapTree(input, loader)), opts);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
//#endregion
|
|
117
|
+
export { remapping as t };
|