@voidzero-dev/vite-plus-core 0.2.3 → 0.2.5
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/LICENSE +7 -115
- package/dist/rolldown/cli.mjs +11 -8
- package/dist/rolldown/config.d.mts +15 -2
- package/dist/rolldown/config.mjs +2 -2
- package/dist/rolldown/experimental-index.d.mts +4 -4
- package/dist/rolldown/experimental-index.mjs +8 -8
- package/dist/rolldown/filter-index.d.mts +1 -1
- package/dist/rolldown/index.d.mts +3 -3
- package/dist/rolldown/index.mjs +10 -4
- package/dist/rolldown/parallel-plugin-worker.mjs +2 -2
- package/dist/rolldown/parallel-plugin.d.mts +1 -1
- package/dist/rolldown/parse-ast-index.d.mts +1 -1
- package/dist/rolldown/parse-ast-index.mjs +2 -2
- package/dist/rolldown/plugins-index.d.mts +3 -3
- package/dist/rolldown/plugins-index.mjs +2 -2
- package/dist/rolldown/shared/{binding-B1q9aYT-.d.mts → binding-D26QphWG.d.mts} +12 -0
- package/dist/rolldown/shared/{binding-BmkJW3Wy.mjs → binding-TuFFIE_J.mjs} +26 -26
- package/dist/rolldown/shared/{bindingify-input-options-Cmm60vfj.mjs → bindingify-input-options-CwbcQL6W.mjs} +11 -13
- package/dist/rolldown/shared/{constructors-2i1T9YcF.d.mts → constructors-BbWPse2X.d.mts} +2 -2
- package/dist/rolldown/shared/{constructors-CE6zZSUt.mjs → constructors-D_3i7dpX.mjs} +1 -1
- package/dist/rolldown/shared/{define-config-BBz954-q.d.mts → define-config-BhJ90aEv.d.mts} +79 -2
- package/dist/rolldown/shared/dist-DX3cAjHx.mjs +154 -0
- package/dist/rolldown/shared/{error-BlQ0-ek7.mjs → error-BHRSI0R7.mjs} +1 -1
- package/dist/rolldown/shared/{load-config-CVVMWSlg.mjs → load-config-Bd7MgqCK.mjs} +19 -2
- package/dist/rolldown/shared/{logs-aMKUxRpj.mjs → logs-ZGEh6uhb.mjs} +6 -1
- package/dist/rolldown/shared/{normalize-string-or-regex-BYkbbGqQ.mjs → normalize-string-or-regex-dnh67V_w.mjs} +2 -2
- package/dist/rolldown/shared/{parse-Dphnedsw.mjs → parse-B6_waszz.mjs} +2 -2
- package/dist/rolldown/shared/{prompt-Bgj-uEyc.mjs → prompt-pZFoa1TT.mjs} +59 -17
- package/dist/rolldown/shared/{resolve-tsconfig-CdIAR1Eb.mjs → resolve-tsconfig-DxqIJB3x.mjs} +2 -2
- package/dist/rolldown/shared/{rolldown-Bnp916iM.mjs → rolldown-CACDGVWV.mjs} +1 -1
- package/dist/rolldown/shared/{rolldown-build-Cs2iVJuw.mjs → rolldown-build-BV22mk7t.mjs} +33 -13
- package/dist/rolldown/shared/{transform-CEmFsvJW.d.mts → transform-BPrUvqEZ.d.mts} +1 -1
- package/dist/rolldown/shared/{watch-ECGr-_QS.mjs → watch-CS_JygCu.mjs} +5 -5
- package/dist/rolldown/utils-index.d.mts +3 -3
- package/dist/rolldown/utils-index.mjs +8 -6
- package/dist/tsdown/{build-B_nvJe4A-CvbtVBxy.js → build-BlM3pDGJ-C8Uovnt4.js} +166 -76
- package/dist/tsdown/{debug-DLdR-9XB-DQZ6QLC0.js → debug-B1wUEHkd-DhRzGJTf.js} +21 -6
- package/dist/tsdown/{detect-B97OSl92-BJPZyIKJ.js → detect-BNXt7gkp-DKAC9Z7n.js} +7 -2
- package/dist/tsdown/dist-Pjag7IPt.js +3206 -0
- package/dist/tsdown/fs-qxJxxoCE-B_amenYz.js +46 -0
- package/dist/tsdown/{general-Cp4NiJNK-CbyrS9q1.js → general-Cp4NiJNK-xAqmPhMP.js} +1 -1
- package/dist/tsdown/index-types.d.ts +1361 -1326
- package/dist/tsdown/index.js +7 -4
- package/dist/tsdown/internal-Bn6NGoha.js +3 -0
- package/dist/tsdown/npm_cjs_chunk_range.cjs +14 -13
- package/dist/tsdown/npm_cjs_chunk_semver.cjs +6 -6
- package/dist/tsdown/npm_entry_picomatch.cjs +44 -15
- package/dist/tsdown/npm_entry_semver_functions_coerce.cjs +2 -2
- package/dist/tsdown/npm_entry_semver_functions_satisfies.cjs +1 -1
- package/dist/tsdown/npm_entry_semver_ranges_min-version.cjs +1 -1
- package/dist/tsdown/run.js +3 -3
- package/dist/tsdown/{src-CISfE_A0.js → src-CK50m8R_.js} +5 -5
- package/dist/tsdown/target-CqeSqtms-CIvlAiuG.js +35 -0
- package/dist/tsdown/{tsc-CdZE7QwS.js → tsc-CilQvmj4.js} +15 -7
- package/dist/tsdown/{tsc-context-CX_GXdyS.js → tsc-context-BusiAGCd.js} +6 -2
- package/dist/tsdown/tsdown-css.js +74 -23
- package/dist/tsdown/tsdown-exe.js +27 -26
- package/dist/vite/client/client.mjs +4 -4
- package/dist/vite/node/chunks/build.js +194 -84
- package/dist/vite/node/chunks/dist2.js +1 -1
- package/dist/vite/node/chunks/lib.js +1 -1
- package/dist/vite/node/chunks/node.js +484 -71
- package/dist/vite/node/chunks/postcss-import.js +1 -1
- package/dist/vite/node/cli.js +3 -4
- package/dist/vite/node/index.d.ts +3 -3
- package/dist/vite/node/index.js +1 -2
- package/package.json +18 -16
- package/dist/tsdown/dist-CZtGyfn3.js +0 -200
- package/dist/tsdown/dist-CqbVlnVq.js +0 -32057
- package/dist/tsdown/internal-bfoxcI4F.js +0 -3
- package/dist/tsdown/target-CqeSqtms-FAqYuGyB.js +0 -79
- package/dist/vite/node/chunks/logger.js +0 -361
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { A as OPTIMIZABLE_ENTRY_RE, B as __commonJSMin, C as ERR_FILE_NOT_FOUND_IN_OPTIMIZED_DEP_DIR, D as JS_TYPES_RE, E as FS_PREFIX, H as __require$1, I as defaultAllowedOrigins, L as loopbackHosts, M as SPECIAL_QUERY_RE, N as VERSION, O as KNOWN_ASSET_TYPES, P as VITE_PACKAGE_DIR, R as wildcardHosts, S as ENV_PUBLIC_PATH, T as ESBUILD_BASELINE_WIDELY_AVAILABLE_TARGET, U as __toESM, V as __exportAll, _ as DEFAULT_SERVER_CONDITIONS, a as CLIENT_ENTRY, b as DEV_PROD_CONDITION, c as DEFAULT_ASSETS_INLINE_LIMIT, d as DEFAULT_CLIENT_MAIN_FIELDS, f as DEFAULT_CONFIG_FILES, g as DEFAULT_PREVIEW_PORT, h as DEFAULT_EXTERNAL_CONDITIONS, i as CLIENT_DIR, j as ROLLUP_HOOKS, k as METADATA_FILENAME, l as DEFAULT_ASSETS_RE, m as DEFAULT_EXTENSIONS, n as createLogger, o as CLIENT_PUBLIC_PATH, p as DEFAULT_DEV_PORT, r as printServerUrls, s as CSS_LANGS_RE, t as LogLevels, u as DEFAULT_CLIENT_CONDITIONS, v as DEFAULT_SERVER_MAIN_FIELDS, w as ERR_OPTIMIZE_DEPS_PROCESSING_ERROR, x as ENV_ENTRY, y as DEP_VERSION_RE, z as require_picocolors } from "./logger.js";
|
|
2
1
|
import { Module, builtinModules, createRequire } from "node:module";
|
|
3
2
|
import { parseAst, parseAstAsync } from "@voidzero-dev/vite-plus-core/rolldown/parseAst";
|
|
4
3
|
import { esmExternalRequirePlugin, esmExternalRequirePlugin as esmExternalRequirePlugin$1 } from "@voidzero-dev/vite-plus-core/rolldown/plugins";
|
|
@@ -38,6 +37,39 @@ import { Buffer as Buffer$1 } from "node:buffer";
|
|
|
38
37
|
import zlib from "zlib";
|
|
39
38
|
import * as qs from "node:querystring";
|
|
40
39
|
import { setTimeout as setTimeout$1 } from "node:timers/promises";
|
|
40
|
+
//#region \0rolldown/runtime.js
|
|
41
|
+
var __create = Object.create;
|
|
42
|
+
var __defProp = Object.defineProperty;
|
|
43
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
44
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
45
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
46
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
47
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
48
|
+
var __exportAll = (all, no_symbols) => {
|
|
49
|
+
let target = {};
|
|
50
|
+
for (var name in all) __defProp(target, name, {
|
|
51
|
+
get: all[name],
|
|
52
|
+
enumerable: true
|
|
53
|
+
});
|
|
54
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
55
|
+
return target;
|
|
56
|
+
};
|
|
57
|
+
var __copyProps = (to, from, except, desc) => {
|
|
58
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
59
|
+
key = keys[i];
|
|
60
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
61
|
+
get: ((k) => from[k]).bind(null, key),
|
|
62
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
return to;
|
|
66
|
+
};
|
|
67
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
68
|
+
value: mod,
|
|
69
|
+
enumerable: true
|
|
70
|
+
}) : target, mod));
|
|
71
|
+
var __require$1 = /* #__PURE__ */ (() => createRequire(import.meta.url))();
|
|
72
|
+
//#endregion
|
|
41
73
|
//#region ../../node_modules/.pnpm/@voidzero-dev+vite-task-client@0.2.0/node_modules/@voidzero-dev/vite-task-client/src/index.js
|
|
42
74
|
/**
|
|
43
75
|
* @typedef {{ tracked?: boolean }} GetEnvOptions
|
|
@@ -146,7 +178,77 @@ function getEnvs(query, options) {
|
|
|
146
178
|
return a.getEnvs(query, options);
|
|
147
179
|
}
|
|
148
180
|
//#endregion
|
|
149
|
-
//#region ../../node_modules/.pnpm/
|
|
181
|
+
//#region ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
|
|
182
|
+
var require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
183
|
+
let p = process || {};
|
|
184
|
+
let argv = p.argv || [];
|
|
185
|
+
let env = p.env || {};
|
|
186
|
+
let isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env.TERM !== "dumb" || !!env.CI);
|
|
187
|
+
let formatter = (open, close, replace = open) => (input) => {
|
|
188
|
+
let string = "" + input, index = string.indexOf(close, open.length);
|
|
189
|
+
return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
|
|
190
|
+
};
|
|
191
|
+
let replaceClose = (string, close, replace, index) => {
|
|
192
|
+
let result = "", cursor = 0;
|
|
193
|
+
do {
|
|
194
|
+
result += string.substring(cursor, index) + replace;
|
|
195
|
+
cursor = index + close.length;
|
|
196
|
+
index = string.indexOf(close, cursor);
|
|
197
|
+
} while (~index);
|
|
198
|
+
return result + string.substring(cursor);
|
|
199
|
+
};
|
|
200
|
+
let createColors = (enabled = isColorSupported) => {
|
|
201
|
+
let f = enabled ? formatter : () => String;
|
|
202
|
+
return {
|
|
203
|
+
isColorSupported: enabled,
|
|
204
|
+
reset: f("\x1B[0m", "\x1B[0m"),
|
|
205
|
+
bold: f("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
|
|
206
|
+
dim: f("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
|
|
207
|
+
italic: f("\x1B[3m", "\x1B[23m"),
|
|
208
|
+
underline: f("\x1B[4m", "\x1B[24m"),
|
|
209
|
+
inverse: f("\x1B[7m", "\x1B[27m"),
|
|
210
|
+
hidden: f("\x1B[8m", "\x1B[28m"),
|
|
211
|
+
strikethrough: f("\x1B[9m", "\x1B[29m"),
|
|
212
|
+
black: f("\x1B[30m", "\x1B[39m"),
|
|
213
|
+
red: f("\x1B[31m", "\x1B[39m"),
|
|
214
|
+
green: f("\x1B[32m", "\x1B[39m"),
|
|
215
|
+
yellow: f("\x1B[33m", "\x1B[39m"),
|
|
216
|
+
blue: f("\x1B[34m", "\x1B[39m"),
|
|
217
|
+
magenta: f("\x1B[35m", "\x1B[39m"),
|
|
218
|
+
cyan: f("\x1B[36m", "\x1B[39m"),
|
|
219
|
+
white: f("\x1B[37m", "\x1B[39m"),
|
|
220
|
+
gray: f("\x1B[90m", "\x1B[39m"),
|
|
221
|
+
bgBlack: f("\x1B[40m", "\x1B[49m"),
|
|
222
|
+
bgRed: f("\x1B[41m", "\x1B[49m"),
|
|
223
|
+
bgGreen: f("\x1B[42m", "\x1B[49m"),
|
|
224
|
+
bgYellow: f("\x1B[43m", "\x1B[49m"),
|
|
225
|
+
bgBlue: f("\x1B[44m", "\x1B[49m"),
|
|
226
|
+
bgMagenta: f("\x1B[45m", "\x1B[49m"),
|
|
227
|
+
bgCyan: f("\x1B[46m", "\x1B[49m"),
|
|
228
|
+
bgWhite: f("\x1B[47m", "\x1B[49m"),
|
|
229
|
+
blackBright: f("\x1B[90m", "\x1B[39m"),
|
|
230
|
+
redBright: f("\x1B[91m", "\x1B[39m"),
|
|
231
|
+
greenBright: f("\x1B[92m", "\x1B[39m"),
|
|
232
|
+
yellowBright: f("\x1B[93m", "\x1B[39m"),
|
|
233
|
+
blueBright: f("\x1B[94m", "\x1B[39m"),
|
|
234
|
+
magentaBright: f("\x1B[95m", "\x1B[39m"),
|
|
235
|
+
cyanBright: f("\x1B[96m", "\x1B[39m"),
|
|
236
|
+
whiteBright: f("\x1B[97m", "\x1B[39m"),
|
|
237
|
+
bgBlackBright: f("\x1B[100m", "\x1B[49m"),
|
|
238
|
+
bgRedBright: f("\x1B[101m", "\x1B[49m"),
|
|
239
|
+
bgGreenBright: f("\x1B[102m", "\x1B[49m"),
|
|
240
|
+
bgYellowBright: f("\x1B[103m", "\x1B[49m"),
|
|
241
|
+
bgBlueBright: f("\x1B[104m", "\x1B[49m"),
|
|
242
|
+
bgMagentaBright: f("\x1B[105m", "\x1B[49m"),
|
|
243
|
+
bgCyanBright: f("\x1B[106m", "\x1B[49m"),
|
|
244
|
+
bgWhiteBright: f("\x1B[107m", "\x1B[49m")
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
module.exports = createColors();
|
|
248
|
+
module.exports.createColors = createColors;
|
|
249
|
+
}));
|
|
250
|
+
//#endregion
|
|
251
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/constants.js
|
|
150
252
|
var require_constants$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
151
253
|
const WIN_SLASH = "\\\\/";
|
|
152
254
|
const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
@@ -315,7 +417,7 @@ var require_constants$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
315
417
|
};
|
|
316
418
|
}));
|
|
317
419
|
//#endregion
|
|
318
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
420
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/utils.js
|
|
319
421
|
var require_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
320
422
|
const { REGEX_BACKSLASH, REGEX_REMOVE_BACKSLASH, REGEX_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_GLOBAL } = require_constants$4();
|
|
321
423
|
exports.isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
|
|
@@ -363,7 +465,7 @@ var require_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
363
465
|
};
|
|
364
466
|
}));
|
|
365
467
|
//#endregion
|
|
366
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
468
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/scan.js
|
|
367
469
|
var require_scan$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
368
470
|
const utils = require_utils$2();
|
|
369
471
|
const { CHAR_ASTERISK, CHAR_AT, CHAR_BACKWARD_SLASH, CHAR_COMMA, CHAR_DOT, CHAR_EXCLAMATION_MARK, CHAR_FORWARD_SLASH, CHAR_LEFT_CURLY_BRACE, CHAR_LEFT_PARENTHESES, CHAR_LEFT_SQUARE_BRACKET, CHAR_PLUS, CHAR_QUESTION_MARK, CHAR_RIGHT_CURLY_BRACE, CHAR_RIGHT_PARENTHESES, CHAR_RIGHT_SQUARE_BRACKET } = require_constants$4();
|
|
@@ -650,7 +752,7 @@ var require_scan$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
650
752
|
module.exports = scan;
|
|
651
753
|
}));
|
|
652
754
|
//#endregion
|
|
653
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
755
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/parse.js
|
|
654
756
|
var require_parse$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
655
757
|
const constants = require_constants$4();
|
|
656
758
|
const utils = require_utils$2();
|
|
@@ -805,7 +907,10 @@ var require_parse$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
805
907
|
}
|
|
806
908
|
}
|
|
807
909
|
};
|
|
808
|
-
const
|
|
910
|
+
const buildCharClassStar = (chars) => {
|
|
911
|
+
return `${chars.length === 1 ? utils.escapeRegex(chars[0]) : `[${chars.map((ch) => utils.escapeRegex(ch)).join("")}]`}*`;
|
|
912
|
+
};
|
|
913
|
+
const getStarExtglobSequenceChars = (pattern) => {
|
|
809
914
|
let index = 0;
|
|
810
915
|
const chars = [];
|
|
811
916
|
while (index < pattern.length) {
|
|
@@ -819,7 +924,7 @@ var require_parse$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
819
924
|
index += match.end + 1;
|
|
820
925
|
}
|
|
821
926
|
if (chars.length < 1) return;
|
|
822
|
-
return
|
|
927
|
+
return chars;
|
|
823
928
|
};
|
|
824
929
|
const repeatedExtglobRecursion = (pattern) => {
|
|
825
930
|
let depth = 0;
|
|
@@ -839,14 +944,28 @@ var require_parse$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
839
944
|
if (branches.length > 1) {
|
|
840
945
|
if (branches.some((branch) => branch === "") || branches.some((branch) => /^[*?]+$/.test(branch)) || hasRepeatedCharPrefixOverlap(branches)) return { risky: true };
|
|
841
946
|
}
|
|
947
|
+
const safeChars = [];
|
|
948
|
+
let sawStarSequence = false;
|
|
949
|
+
let combinable = true;
|
|
842
950
|
for (const branch of branches) {
|
|
843
|
-
const
|
|
844
|
-
if (
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
951
|
+
const chars = getStarExtglobSequenceChars(branch);
|
|
952
|
+
if (chars) {
|
|
953
|
+
sawStarSequence = true;
|
|
954
|
+
safeChars.push(...chars);
|
|
955
|
+
continue;
|
|
956
|
+
}
|
|
957
|
+
const literal = normalizeSimpleBranch(branch);
|
|
958
|
+
if (literal && literal.length === 1) {
|
|
959
|
+
safeChars.push(literal);
|
|
960
|
+
continue;
|
|
961
|
+
}
|
|
962
|
+
combinable = false;
|
|
848
963
|
if (repeatedExtglobRecursion(branch) > max) return { risky: true };
|
|
849
964
|
}
|
|
965
|
+
if (sawStarSequence) return combinable ? {
|
|
966
|
+
risky: true,
|
|
967
|
+
safeOutput: buildCharClassStar([...new Set(safeChars)])
|
|
968
|
+
} : { risky: true };
|
|
850
969
|
return { risky: false };
|
|
851
970
|
};
|
|
852
971
|
/**
|
|
@@ -1703,7 +1822,7 @@ var require_parse$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1703
1822
|
module.exports = parse;
|
|
1704
1823
|
}));
|
|
1705
1824
|
//#endregion
|
|
1706
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
1825
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/picomatch.js
|
|
1707
1826
|
var require_picomatch$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1708
1827
|
const scan = require_scan$1();
|
|
1709
1828
|
const parse = require_parse$4();
|
|
@@ -1724,6 +1843,18 @@ var require_picomatch$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1724
1843
|
* const isMatch = picomatch('*.!(*a)');
|
|
1725
1844
|
* console.log(isMatch('a.a')); //=> false
|
|
1726
1845
|
* console.log(isMatch('a.b')); //=> true
|
|
1846
|
+
*
|
|
1847
|
+
* // For environments without `node.js`, `picomatch/posix` provides you a dependency-free matcher, without automatic OS detection.
|
|
1848
|
+
* const picomatch = require('picomatch/posix');
|
|
1849
|
+
* // the same API, defaulting to posix paths
|
|
1850
|
+
* const isMatch = picomatch('a/*');
|
|
1851
|
+
* console.log(isMatch('a\\b')); //=> false
|
|
1852
|
+
* console.log(isMatch('a/b')); //=> true
|
|
1853
|
+
*
|
|
1854
|
+
* // you can still configure the matcher function to accept windows paths
|
|
1855
|
+
* const isMatch = picomatch('a/*', { options: windows });
|
|
1856
|
+
* console.log(isMatch('a\\b')); //=> true
|
|
1857
|
+
* console.log(isMatch('a/b')); //=> true
|
|
1727
1858
|
* ```
|
|
1728
1859
|
* @name picomatch
|
|
1729
1860
|
* @param {String|Array} `globs` One or more glob patterns.
|
|
@@ -1839,8 +1970,8 @@ var require_picomatch$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1839
1970
|
* @return {Boolean}
|
|
1840
1971
|
* @api public
|
|
1841
1972
|
*/
|
|
1842
|
-
picomatch.matchBase = (input, glob, options) => {
|
|
1843
|
-
return (glob instanceof RegExp ? glob : picomatch.makeRe(glob, options)).test(utils.basename(input));
|
|
1973
|
+
picomatch.matchBase = (input, glob, options, posix = options && options.windows) => {
|
|
1974
|
+
return (glob instanceof RegExp ? glob : picomatch.makeRe(glob, options)).test(utils.basename(input, { windows: posix }));
|
|
1844
1975
|
};
|
|
1845
1976
|
/**
|
|
1846
1977
|
* Returns true if **any** of the given glob `patterns` match the specified `string`.
|
|
@@ -1998,7 +2129,7 @@ var require_picomatch$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1998
2129
|
module.exports = picomatch;
|
|
1999
2130
|
}));
|
|
2000
2131
|
//#endregion
|
|
2001
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
2132
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/index.js
|
|
2002
2133
|
var require_picomatch$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2003
2134
|
const pico = require_picomatch$3();
|
|
2004
2135
|
const utils = require_utils$2();
|
|
@@ -2298,6 +2429,162 @@ const importMetaResolveWithCustomHookString = `
|
|
|
2298
2429
|
|
|
2299
2430
|
`;
|
|
2300
2431
|
//#endregion
|
|
2432
|
+
//#region ../../vite/packages/vite/package.json
|
|
2433
|
+
var version = "8.1.4";
|
|
2434
|
+
//#endregion
|
|
2435
|
+
//#region ../../vite/packages/vite/src/node/constants.ts
|
|
2436
|
+
const ROLLUP_HOOKS = [
|
|
2437
|
+
"options",
|
|
2438
|
+
"buildStart",
|
|
2439
|
+
"buildEnd",
|
|
2440
|
+
"renderStart",
|
|
2441
|
+
"renderError",
|
|
2442
|
+
"renderChunk",
|
|
2443
|
+
"writeBundle",
|
|
2444
|
+
"generateBundle",
|
|
2445
|
+
"banner",
|
|
2446
|
+
"footer",
|
|
2447
|
+
"augmentChunkHash",
|
|
2448
|
+
"outputOptions",
|
|
2449
|
+
"intro",
|
|
2450
|
+
"outro",
|
|
2451
|
+
"closeBundle",
|
|
2452
|
+
"closeWatcher",
|
|
2453
|
+
"load",
|
|
2454
|
+
"moduleParsed",
|
|
2455
|
+
"watchChange",
|
|
2456
|
+
"resolveDynamicImport",
|
|
2457
|
+
"resolveId",
|
|
2458
|
+
"transform",
|
|
2459
|
+
"onLog"
|
|
2460
|
+
];
|
|
2461
|
+
const VERSION = version;
|
|
2462
|
+
const VITE_PLUS_VERSION = process.env.VP_VERSION || VERSION;
|
|
2463
|
+
const DEFAULT_MAIN_FIELDS = [
|
|
2464
|
+
"browser",
|
|
2465
|
+
"module",
|
|
2466
|
+
"jsnext:main",
|
|
2467
|
+
"jsnext"
|
|
2468
|
+
];
|
|
2469
|
+
const DEFAULT_CLIENT_MAIN_FIELDS = Object.freeze(DEFAULT_MAIN_FIELDS);
|
|
2470
|
+
const DEFAULT_SERVER_MAIN_FIELDS = Object.freeze(DEFAULT_MAIN_FIELDS.filter((f) => f !== "browser"));
|
|
2471
|
+
/**
|
|
2472
|
+
* A special condition that would be replaced with production or development
|
|
2473
|
+
* depending on NODE_ENV env variable
|
|
2474
|
+
*/
|
|
2475
|
+
const DEV_PROD_CONDITION = `development|production`;
|
|
2476
|
+
const DEFAULT_CONDITIONS$1 = [
|
|
2477
|
+
"module",
|
|
2478
|
+
"browser",
|
|
2479
|
+
"node",
|
|
2480
|
+
DEV_PROD_CONDITION
|
|
2481
|
+
];
|
|
2482
|
+
const DEFAULT_CLIENT_CONDITIONS = Object.freeze(DEFAULT_CONDITIONS$1.filter((c) => c !== "node"));
|
|
2483
|
+
const DEFAULT_SERVER_CONDITIONS = Object.freeze(DEFAULT_CONDITIONS$1.filter((c) => c !== "browser"));
|
|
2484
|
+
const DEFAULT_EXTERNAL_CONDITIONS = Object.freeze(["node", "module-sync"]);
|
|
2485
|
+
const DEFAULT_EXTENSIONS = [
|
|
2486
|
+
".mjs",
|
|
2487
|
+
".js",
|
|
2488
|
+
".mts",
|
|
2489
|
+
".ts",
|
|
2490
|
+
".jsx",
|
|
2491
|
+
".tsx",
|
|
2492
|
+
".json"
|
|
2493
|
+
];
|
|
2494
|
+
/**
|
|
2495
|
+
* The browser versions that are included in the Baseline Widely Available on 2025-05-01.
|
|
2496
|
+
*
|
|
2497
|
+
* This value would be bumped on each major release of Vite.
|
|
2498
|
+
*
|
|
2499
|
+
* The value is generated by `pnpm generate-target` script.
|
|
2500
|
+
*/
|
|
2501
|
+
const ESBUILD_BASELINE_WIDELY_AVAILABLE_TARGET = [
|
|
2502
|
+
"chrome111",
|
|
2503
|
+
"edge111",
|
|
2504
|
+
"firefox114",
|
|
2505
|
+
"safari16.4",
|
|
2506
|
+
"ios16.4"
|
|
2507
|
+
];
|
|
2508
|
+
const DEFAULT_CONFIG_FILES = [
|
|
2509
|
+
"vite.config.js",
|
|
2510
|
+
"vite.config.mjs",
|
|
2511
|
+
"vite.config.ts",
|
|
2512
|
+
"vite.config.cjs",
|
|
2513
|
+
"vite.config.mts",
|
|
2514
|
+
"vite.config.cts"
|
|
2515
|
+
];
|
|
2516
|
+
const JS_TYPES_RE = /\.(?:j|t)sx?$|\.mjs$/;
|
|
2517
|
+
const CSS_LANGS_RE = /\.(css|less|sass|scss|styl|stylus|pcss|postcss|sss)(?:$|\?)/;
|
|
2518
|
+
const OPTIMIZABLE_ENTRY_RE = /\.[cm]?[jt]s$/;
|
|
2519
|
+
const SPECIAL_QUERY_RE = /[?&](?:worker|sharedworker|raw|url)\b/;
|
|
2520
|
+
/**
|
|
2521
|
+
* Prefix for resolved fs paths, since windows paths may not be valid as URLs.
|
|
2522
|
+
*/
|
|
2523
|
+
const FS_PREFIX = `/@fs/`;
|
|
2524
|
+
const CLIENT_PUBLIC_PATH = `/@vite/client`;
|
|
2525
|
+
const ENV_PUBLIC_PATH = `/@vite/env`;
|
|
2526
|
+
const VITE_PACKAGE_DIR = path.join(fileURLToPath(
|
|
2527
|
+
/** #__KEEP__ */
|
|
2528
|
+
import.meta.url
|
|
2529
|
+
), "..", "..", "..", "..", "..");
|
|
2530
|
+
const CLIENT_ENTRY = path.join(VITE_PACKAGE_DIR, "dist/vite/client/client.mjs");
|
|
2531
|
+
const ENV_ENTRY = path.join(VITE_PACKAGE_DIR, "dist/vite/client/env.mjs");
|
|
2532
|
+
const CLIENT_DIR = path.dirname(CLIENT_ENTRY);
|
|
2533
|
+
const KNOWN_ASSET_TYPES = [
|
|
2534
|
+
"apng",
|
|
2535
|
+
"bmp",
|
|
2536
|
+
"png",
|
|
2537
|
+
"jpe?g",
|
|
2538
|
+
"jfif",
|
|
2539
|
+
"pjpeg",
|
|
2540
|
+
"pjp",
|
|
2541
|
+
"gif",
|
|
2542
|
+
"svg",
|
|
2543
|
+
"ico",
|
|
2544
|
+
"webp",
|
|
2545
|
+
"avif",
|
|
2546
|
+
"cur",
|
|
2547
|
+
"jxl",
|
|
2548
|
+
"mp4",
|
|
2549
|
+
"webm",
|
|
2550
|
+
"ogg",
|
|
2551
|
+
"mp3",
|
|
2552
|
+
"wav",
|
|
2553
|
+
"flac",
|
|
2554
|
+
"aac",
|
|
2555
|
+
"opus",
|
|
2556
|
+
"mov",
|
|
2557
|
+
"m4a",
|
|
2558
|
+
"vtt",
|
|
2559
|
+
"woff2?",
|
|
2560
|
+
"eot",
|
|
2561
|
+
"ttf",
|
|
2562
|
+
"otf",
|
|
2563
|
+
"webmanifest",
|
|
2564
|
+
"pdf",
|
|
2565
|
+
"txt"
|
|
2566
|
+
];
|
|
2567
|
+
const DEFAULT_ASSETS_RE = new RegExp(`\\.(` + KNOWN_ASSET_TYPES.join("|") + `)(\\?.*)?$`, "i");
|
|
2568
|
+
const DEP_VERSION_RE = /[?&](v=[\w.-]+)\b/;
|
|
2569
|
+
const loopbackHosts = /* @__PURE__ */ new Set([
|
|
2570
|
+
"localhost",
|
|
2571
|
+
"127.0.0.1",
|
|
2572
|
+
"::1",
|
|
2573
|
+
"0000:0000:0000:0000:0000:0000:0000:0001"
|
|
2574
|
+
]);
|
|
2575
|
+
const wildcardHosts = /* @__PURE__ */ new Set([
|
|
2576
|
+
"0.0.0.0",
|
|
2577
|
+
"::",
|
|
2578
|
+
"0000:0000:0000:0000:0000:0000:0000:0000"
|
|
2579
|
+
]);
|
|
2580
|
+
const DEFAULT_DEV_PORT = 5173;
|
|
2581
|
+
const DEFAULT_PREVIEW_PORT = 4173;
|
|
2582
|
+
const DEFAULT_ASSETS_INLINE_LIMIT = 4096;
|
|
2583
|
+
const defaultAllowedOrigins = /^https?:\/\/(?:(?:[^:]+\.)?localhost|127\.0\.0\.1|\[::1\])(?::\d+)?$/;
|
|
2584
|
+
const METADATA_FILENAME = "_metadata.json";
|
|
2585
|
+
const ERR_OPTIMIZE_DEPS_PROCESSING_ERROR = "ERR_OPTIMIZE_DEPS_PROCESSING_ERROR";
|
|
2586
|
+
const ERR_FILE_NOT_FOUND_IN_OPTIMIZED_DEP_DIR = "ERR_FILE_NOT_FOUND_IN_OPTIMIZED_DEP_DIR";
|
|
2587
|
+
//#endregion
|
|
2301
2588
|
//#region ../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
2302
2589
|
var comma$1 = ",".charCodeAt(0);
|
|
2303
2590
|
var semicolon = ";".charCodeAt(0);
|
|
@@ -3176,7 +3463,7 @@ const require$1 = createRequire(import.meta.url);
|
|
|
3176
3463
|
function log$1(...args) {
|
|
3177
3464
|
process.stderr.write(`${formatWithOptions(inspectOpts, ...args)}\n`);
|
|
3178
3465
|
}
|
|
3179
|
-
const colors$
|
|
3466
|
+
const colors$39 = process.stderr.getColorDepth && process.stderr.getColorDepth() > 2 ? [
|
|
3180
3467
|
20,
|
|
3181
3468
|
21,
|
|
3182
3469
|
26,
|
|
@@ -3306,7 +3593,7 @@ function getDate() {
|
|
|
3306
3593
|
function init$1(debug) {
|
|
3307
3594
|
debug.inspectOpts = Object.assign({}, inspectOpts);
|
|
3308
3595
|
}
|
|
3309
|
-
const createDebug = setup(useColors(), colors$
|
|
3596
|
+
const createDebug = setup(useColors(), colors$39, log$1, load, save, formatArgs, init$1);
|
|
3310
3597
|
createDebug.inspectOpts = inspectOpts;
|
|
3311
3598
|
createDebug.formatters.o = function(v) {
|
|
3312
3599
|
this.inspectOpts.colors = this.useColors;
|
|
@@ -4729,6 +5016,103 @@ function perEnvironmentPlugin(name, applyToEnvironment) {
|
|
|
4729
5016
|
};
|
|
4730
5017
|
}
|
|
4731
5018
|
//#endregion
|
|
5019
|
+
//#region ../../vite/packages/vite/src/node/logger.ts
|
|
5020
|
+
const LogLevels = {
|
|
5021
|
+
silent: 0,
|
|
5022
|
+
error: 1,
|
|
5023
|
+
warn: 2,
|
|
5024
|
+
info: 3
|
|
5025
|
+
};
|
|
5026
|
+
let lastType;
|
|
5027
|
+
let lastMsg;
|
|
5028
|
+
let sameCount = 0;
|
|
5029
|
+
function clearScreen() {
|
|
5030
|
+
const repeatCount = process.stdout.rows - 2;
|
|
5031
|
+
const blank = repeatCount > 0 ? "\n".repeat(repeatCount) : "";
|
|
5032
|
+
console.log(blank);
|
|
5033
|
+
readline.cursorTo(process.stdout, 0, 0);
|
|
5034
|
+
readline.clearScreenDown(process.stdout);
|
|
5035
|
+
}
|
|
5036
|
+
let timeFormatter;
|
|
5037
|
+
function getTimeFormatter() {
|
|
5038
|
+
timeFormatter ??= new Intl.DateTimeFormat(void 0, {
|
|
5039
|
+
hour: "numeric",
|
|
5040
|
+
minute: "numeric",
|
|
5041
|
+
second: "numeric"
|
|
5042
|
+
});
|
|
5043
|
+
return timeFormatter;
|
|
5044
|
+
}
|
|
5045
|
+
function createLogger(level = "info", options = {}) {
|
|
5046
|
+
if (options.customLogger) return options.customLogger;
|
|
5047
|
+
const loggedErrors = /* @__PURE__ */ new WeakSet();
|
|
5048
|
+
const { prefix = "[vite+]", allowClearScreen = true, console = globalThis.console } = options;
|
|
5049
|
+
const thresh = LogLevels[level];
|
|
5050
|
+
const canClearScreen = allowClearScreen && process.stdout.isTTY && !process.env.CI;
|
|
5051
|
+
const clear = canClearScreen ? clearScreen : () => {};
|
|
5052
|
+
function format(type, msg, options = {}) {
|
|
5053
|
+
if (options.timestamp) {
|
|
5054
|
+
let tag = "";
|
|
5055
|
+
if (type === "info") tag = import_picocolors.default.cyan(import_picocolors.default.bold(prefix));
|
|
5056
|
+
else if (type === "warn") tag = import_picocolors.default.yellow(import_picocolors.default.bold(prefix));
|
|
5057
|
+
else tag = import_picocolors.default.red(import_picocolors.default.bold(prefix));
|
|
5058
|
+
const environment = options.environment ? options.environment + " " : "";
|
|
5059
|
+
return `${import_picocolors.default.dim(getTimeFormatter().format(/* @__PURE__ */ new Date()))} ${tag} ${environment}${msg}`;
|
|
5060
|
+
} else return msg;
|
|
5061
|
+
}
|
|
5062
|
+
function output(type, msg, options = {}) {
|
|
5063
|
+
if (thresh >= LogLevels[type]) {
|
|
5064
|
+
const method = type === "info" ? "log" : type;
|
|
5065
|
+
if (options.error) loggedErrors.add(options.error);
|
|
5066
|
+
if (canClearScreen) if (type === lastType && msg === lastMsg) {
|
|
5067
|
+
sameCount++;
|
|
5068
|
+
clear();
|
|
5069
|
+
console[method](format(type, msg, options), import_picocolors.default.yellow(`(x${sameCount + 1})`));
|
|
5070
|
+
} else {
|
|
5071
|
+
sameCount = 0;
|
|
5072
|
+
lastMsg = msg;
|
|
5073
|
+
lastType = type;
|
|
5074
|
+
if (options.clear) clear();
|
|
5075
|
+
console[method](format(type, msg, options));
|
|
5076
|
+
}
|
|
5077
|
+
else console[method](format(type, msg, options));
|
|
5078
|
+
}
|
|
5079
|
+
}
|
|
5080
|
+
const warnedMessages = /* @__PURE__ */ new Set();
|
|
5081
|
+
const logger = {
|
|
5082
|
+
hasWarned: false,
|
|
5083
|
+
info(msg, opts) {
|
|
5084
|
+
output("info", msg, opts);
|
|
5085
|
+
},
|
|
5086
|
+
warn(msg, opts) {
|
|
5087
|
+
logger.hasWarned = true;
|
|
5088
|
+
output("warn", msg, opts);
|
|
5089
|
+
},
|
|
5090
|
+
warnOnce(msg, opts) {
|
|
5091
|
+
if (warnedMessages.has(msg)) return;
|
|
5092
|
+
logger.hasWarned = true;
|
|
5093
|
+
output("warn", msg, opts);
|
|
5094
|
+
warnedMessages.add(msg);
|
|
5095
|
+
},
|
|
5096
|
+
error(msg, opts) {
|
|
5097
|
+
logger.hasWarned = true;
|
|
5098
|
+
output("error", msg, opts);
|
|
5099
|
+
},
|
|
5100
|
+
clearScreen(type) {
|
|
5101
|
+
if (thresh >= LogLevels[type]) clear();
|
|
5102
|
+
},
|
|
5103
|
+
hasErrorLogged(error) {
|
|
5104
|
+
return loggedErrors.has(error);
|
|
5105
|
+
}
|
|
5106
|
+
};
|
|
5107
|
+
return logger;
|
|
5108
|
+
}
|
|
5109
|
+
function printServerUrls(urls, optionsHost, info) {
|
|
5110
|
+
const colorUrl = (url) => import_picocolors.default.cyan(url.replace(/:(\d+)\//, (_, port) => `:${import_picocolors.default.bold(port)}/`));
|
|
5111
|
+
for (const url of urls.local) info(` ${import_picocolors.default.green("➜")} ${import_picocolors.default.bold("Local")}: ${colorUrl(url)}`);
|
|
5112
|
+
for (const url of urls.network) info(` ${import_picocolors.default.green("➜")} ${import_picocolors.default.bold("Network")}: ${colorUrl(url)}`);
|
|
5113
|
+
if (urls.network.length === 0 && optionsHost === void 0) info(import_picocolors.default.dim(` ${import_picocolors.default.green("➜")} ${import_picocolors.default.bold("Network")}: use `) + import_picocolors.default.bold("--host") + import_picocolors.default.dim(" to expose"));
|
|
5114
|
+
}
|
|
5115
|
+
//#endregion
|
|
4732
5116
|
//#region ../../vite/packages/vite/src/node/plugins/reporter.ts
|
|
4733
5117
|
const VITE_VERSION_ONLY_LINE_RE = /^vite v\S+$/;
|
|
4734
5118
|
function buildReporterPlugin(config) {
|
|
@@ -5451,7 +5835,7 @@ const init = WebAssembly.compile(g()).then(WebAssembly.instantiate).then(({ expo
|
|
|
5451
5835
|
E = A;
|
|
5452
5836
|
});
|
|
5453
5837
|
//#endregion
|
|
5454
|
-
//#region ../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.
|
|
5838
|
+
//#region ../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.5/node_modules/fdir/dist/index.mjs
|
|
5455
5839
|
var __require = /* @__PURE__ */ createRequire$1(import.meta.url);
|
|
5456
5840
|
function cleanPath(path) {
|
|
5457
5841
|
let normalized = normalize$1(path);
|
|
@@ -13544,7 +13928,7 @@ var require_is_binary_path = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
13544
13928
|
module.exports = (filePath) => extensions.has(path$10.extname(filePath).slice(1).toLowerCase());
|
|
13545
13929
|
}));
|
|
13546
13930
|
//#endregion
|
|
13547
|
-
//#region ../../node_modules/.pnpm/chokidar@3.6.0_patch_hash=
|
|
13931
|
+
//#region ../../node_modules/.pnpm/chokidar@3.6.0_patch_hash=e17269188c54412478078f7ac7877c1d5a475a2f2438328e3a7e725513ccbf1f/node_modules/chokidar/lib/constants.js
|
|
13548
13932
|
var require_constants$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
13549
13933
|
const { sep: sep$2 } = __require$1("path");
|
|
13550
13934
|
const { platform } = process;
|
|
@@ -13608,7 +13992,7 @@ var require_constants$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
13608
13992
|
exports.isIBMi = os$3.type() === "OS400";
|
|
13609
13993
|
}));
|
|
13610
13994
|
//#endregion
|
|
13611
|
-
//#region ../../node_modules/.pnpm/chokidar@3.6.0_patch_hash=
|
|
13995
|
+
//#region ../../node_modules/.pnpm/chokidar@3.6.0_patch_hash=e17269188c54412478078f7ac7877c1d5a475a2f2438328e3a7e725513ccbf1f/node_modules/chokidar/lib/nodefs-handler.js
|
|
13612
13996
|
var require_nodefs_handler = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13613
13997
|
const fs$9 = __require$1("fs");
|
|
13614
13998
|
const sysPath$2 = __require$1("path");
|
|
@@ -14066,7 +14450,7 @@ var require_nodefs_handler = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
14066
14450
|
module.exports = NodeFsHandler;
|
|
14067
14451
|
}));
|
|
14068
14452
|
//#endregion
|
|
14069
|
-
//#region ../../node_modules/.pnpm/chokidar@3.6.0_patch_hash=
|
|
14453
|
+
//#region ../../node_modules/.pnpm/chokidar@3.6.0_patch_hash=e17269188c54412478078f7ac7877c1d5a475a2f2438328e3a7e725513ccbf1f/node_modules/chokidar/lib/fsevents-handler.js
|
|
14070
14454
|
var require_fsevents_handler = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14071
14455
|
const fs$8 = __require$1("fs");
|
|
14072
14456
|
const sysPath$1 = __require$1("path");
|
|
@@ -14401,7 +14785,7 @@ var require_fsevents_handler = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
14401
14785
|
module.exports.canUse = canUse;
|
|
14402
14786
|
}));
|
|
14403
14787
|
//#endregion
|
|
14404
|
-
//#region ../../node_modules/.pnpm/chokidar@3.6.0_patch_hash=
|
|
14788
|
+
//#region ../../node_modules/.pnpm/chokidar@3.6.0_patch_hash=e17269188c54412478078f7ac7877c1d5a475a2f2438328e3a7e725513ccbf1f/node_modules/chokidar/index.js
|
|
14405
14789
|
var require_chokidar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
14406
14790
|
const { EventEmitter: EventEmitter$3 } = __require$1("events");
|
|
14407
14791
|
const fs$7 = __require$1("fs");
|
|
@@ -15032,6 +15416,7 @@ var require_chokidar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
15032
15416
|
* @param {Path} path
|
|
15033
15417
|
*/
|
|
15034
15418
|
_closeFile(path) {
|
|
15419
|
+
path = sysPath.normalize(path);
|
|
15035
15420
|
const closers = this._closers.get(path);
|
|
15036
15421
|
if (!closers) return;
|
|
15037
15422
|
closers.forEach((closer) => closer());
|
|
@@ -15044,6 +15429,7 @@ var require_chokidar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
15044
15429
|
*/
|
|
15045
15430
|
_addPathCloser(path, closer) {
|
|
15046
15431
|
if (!closer) return;
|
|
15432
|
+
path = sysPath.normalize(path);
|
|
15047
15433
|
let list = this._closers.get(path);
|
|
15048
15434
|
if (!list) {
|
|
15049
15435
|
list = [];
|
|
@@ -16482,11 +16868,15 @@ async function ssrTransformScript(code, inMap, url, originalCode) {
|
|
|
16482
16868
|
const topNode = parentStack[parentStack.length - 2];
|
|
16483
16869
|
s.prependRight(topNode.start, `const ${id.name} = ${binding};\n`);
|
|
16484
16870
|
}
|
|
16485
|
-
} else if (parent.type === "CallExpression") {
|
|
16871
|
+
} else if (parent.type === "CallExpression") if (id === parent.callee && !parent.optional) {
|
|
16872
|
+
const argsStart = parent.arguments.length ? parent.arguments[0].start : parent.end;
|
|
16873
|
+
s.update(id.start, argsStart, `(0,${binding})${code.slice(id.end, argsStart)}`);
|
|
16874
|
+
} else {
|
|
16486
16875
|
s.update(id.start, id.end, binding);
|
|
16487
16876
|
s.prependRight(id.start, `(0,`);
|
|
16488
16877
|
s.appendLeft(id.end, `)`);
|
|
16489
|
-
}
|
|
16878
|
+
}
|
|
16879
|
+
else if (!(parent.type === "ClassExpression" && id === parent.id)) s.update(id.start, id.end, binding);
|
|
16490
16880
|
},
|
|
16491
16881
|
onImportMeta(node) {
|
|
16492
16882
|
s.update(node.start, node.end, ssrImportMetaKey);
|
|
@@ -25424,7 +25814,26 @@ function getModuleTypeFromId(id) {
|
|
|
25424
25814
|
//#endregion
|
|
25425
25815
|
//#region ../../node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.mjs
|
|
25426
25816
|
var import_js_tokens = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
25427
|
-
var HashbangComment
|
|
25817
|
+
var HashbangComment;
|
|
25818
|
+
var Identifier;
|
|
25819
|
+
var JSXIdentifier;
|
|
25820
|
+
var JSXPunctuator;
|
|
25821
|
+
var JSXString;
|
|
25822
|
+
var JSXText;
|
|
25823
|
+
var KeywordsWithExpressionAfter;
|
|
25824
|
+
var KeywordsWithNoLineTerminatorAfter;
|
|
25825
|
+
var LineTerminatorSequence;
|
|
25826
|
+
var MultiLineComment;
|
|
25827
|
+
var Newline;
|
|
25828
|
+
var NumericLiteral;
|
|
25829
|
+
var Punctuator;
|
|
25830
|
+
var RegularExpressionLiteral = /\/(?![*\/])(?:\[(?:[^\]\\\n\r\u2028\u2029]+|\\.)*\]?|[^\/[\\\n\r\u2028\u2029]+|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/uy;
|
|
25831
|
+
var SingleLineComment;
|
|
25832
|
+
var StringLiteral;
|
|
25833
|
+
var Template;
|
|
25834
|
+
var TokensNotPrecedingObjectLiteral;
|
|
25835
|
+
var TokensPrecedingExpression;
|
|
25836
|
+
var WhiteSpace;
|
|
25428
25837
|
Punctuator = /--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;
|
|
25429
25838
|
Identifier = /(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]+|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/uy;
|
|
25430
25839
|
StringLiteral = /(['"])(?:[^'"\\\n\r]+|(?!\1)['"]|\\(?:\r\n|[^]))*(\1)?/y;
|
|
@@ -26558,7 +26967,7 @@ var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
26558
26967
|
};
|
|
26559
26968
|
}));
|
|
26560
26969
|
//#endregion
|
|
26561
|
-
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.7.0_postcss@8.5.16_tsx@4.
|
|
26970
|
+
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.7.0_postcss@8.5.16_tsx@4.23.1_yaml@2.9.0/node_modules/postcss-load-config/src/req.js
|
|
26562
26971
|
var require_req = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
26563
26972
|
const { createRequire: createRequire$2 } = __require$1("node:module");
|
|
26564
26973
|
const { fileURLToPath: fileURLToPath$2, pathToFileURL: pathToFileURL$1 } = __require$1("node:url");
|
|
@@ -26600,7 +27009,7 @@ var require_req = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
26600
27009
|
module.exports = req;
|
|
26601
27010
|
}));
|
|
26602
27011
|
//#endregion
|
|
26603
|
-
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.7.0_postcss@8.5.16_tsx@4.
|
|
27012
|
+
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.7.0_postcss@8.5.16_tsx@4.23.1_yaml@2.9.0/node_modules/postcss-load-config/src/options.js
|
|
26604
27013
|
var require_options = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
26605
27014
|
const req = require_req();
|
|
26606
27015
|
/**
|
|
@@ -26634,7 +27043,7 @@ var require_options = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
26634
27043
|
module.exports = options;
|
|
26635
27044
|
}));
|
|
26636
27045
|
//#endregion
|
|
26637
|
-
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.7.0_postcss@8.5.16_tsx@4.
|
|
27046
|
+
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.7.0_postcss@8.5.16_tsx@4.23.1_yaml@2.9.0/node_modules/postcss-load-config/src/plugins.js
|
|
26638
27047
|
var require_plugins = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
26639
27048
|
const req = require_req();
|
|
26640
27049
|
/**
|
|
@@ -26688,7 +27097,7 @@ var require_plugins = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
26688
27097
|
module.exports = plugins;
|
|
26689
27098
|
}));
|
|
26690
27099
|
//#endregion
|
|
26691
|
-
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.7.0_postcss@8.5.16_tsx@4.
|
|
27100
|
+
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.7.0_postcss@8.5.16_tsx@4.23.1_yaml@2.9.0/node_modules/postcss-load-config/src/index.js
|
|
26692
27101
|
var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
26693
27102
|
const { resolve: resolve$3 } = __require$1("node:path");
|
|
26694
27103
|
const config = require_src$1();
|
|
@@ -27511,7 +27920,12 @@ function cssPostPlugin(config) {
|
|
|
27511
27920
|
if (pureCssChunks.size) {
|
|
27512
27921
|
const prelimaryNameToChunkMap = Object.fromEntries(Object.values(bundle).filter((chunk) => chunk.type === "chunk").map((chunk) => [chunk.preliminaryFileName, chunk.fileName]));
|
|
27513
27922
|
const pureCssChunkNames = [...pureCssChunks].map((pureCssChunk) => prelimaryNameToChunkMap[pureCssChunk.fileName]).filter(Boolean);
|
|
27514
|
-
|
|
27923
|
+
let importMapReverseMapping;
|
|
27924
|
+
if (config.build.chunkImportMap) {
|
|
27925
|
+
const importMap = getImportMap(bundle, config);
|
|
27926
|
+
importMapReverseMapping = Object.fromEntries(Object.entries(importMap.mapping).map(([k, v]) => [v, k]));
|
|
27927
|
+
}
|
|
27928
|
+
const replaceEmptyChunk = getEmptyChunkReplacer(importMapReverseMapping ? pureCssChunkNames.map((name) => importMapReverseMapping[name] ?? name) : pureCssChunkNames, opts.format);
|
|
27515
27929
|
for (const file in bundle) {
|
|
27516
27930
|
const chunk = bundle[file];
|
|
27517
27931
|
if (chunk.type === "chunk") {
|
|
@@ -29574,9 +29988,11 @@ async function applyHtmlTransforms(html, hooks, pluginContext, ctx) {
|
|
|
29574
29988
|
}
|
|
29575
29989
|
return html;
|
|
29576
29990
|
}
|
|
29577
|
-
const
|
|
29991
|
+
const importOrCommentRE = /\s+|\/\*[\s\S]*?\*\/|\/\/[^\n]*(?:\n|$)|import\s*(?:"(?:[^"\\\n]|\\.)*"|'(?:[^'\\\n]|\\.)*')\s*;*/y;
|
|
29578
29992
|
function isEntirelyImport(code) {
|
|
29579
|
-
|
|
29993
|
+
importOrCommentRE.lastIndex = 0;
|
|
29994
|
+
while (importOrCommentRE.lastIndex < code.length) if (!importOrCommentRE.test(code)) return false;
|
|
29995
|
+
return true;
|
|
29580
29996
|
}
|
|
29581
29997
|
function getBaseInHTML(urlRelativePath, config) {
|
|
29582
29998
|
return config.base === "./" || config.base === "" ? path.posix.join(path.posix.relative(urlRelativePath, "").slice(0, -2), "./") : config.base;
|
|
@@ -29643,6 +30059,19 @@ function getImportMapFilename(config) {
|
|
|
29643
30059
|
if (typeof chunkImportMap === "object" && chunkImportMap.fileName) return chunkImportMap.fileName;
|
|
29644
30060
|
return "importmap.json";
|
|
29645
30061
|
}
|
|
30062
|
+
/**
|
|
30063
|
+
* Read and parse the chunk import map asset from the bundle.
|
|
30064
|
+
* Returns `undefined` when the import map is not present in the bundle.
|
|
30065
|
+
*/
|
|
30066
|
+
function getImportMap(bundle, config) {
|
|
30067
|
+
const asset = bundle[getImportMapFilename(config)];
|
|
30068
|
+
if (!asset) return void 0;
|
|
30069
|
+
const content = JSON.parse(typeof asset.source === "string" ? asset.source : new TextDecoder().decode(asset.source));
|
|
30070
|
+
return {
|
|
30071
|
+
asset,
|
|
30072
|
+
mapping: Object.fromEntries(Object.entries(content.imports).map(([k, v]) => [k.slice(config.base.length), v.slice(config.base.length)]))
|
|
30073
|
+
};
|
|
30074
|
+
}
|
|
29646
30075
|
//#endregion
|
|
29647
30076
|
//#region ../../vite/packages/vite/src/node/server/middlewares/transform.ts
|
|
29648
30077
|
const debugCache = createDebugger("vite:cache");
|
|
@@ -33307,7 +33736,11 @@ function preload(baseModule, deps, importerUrl) {
|
|
|
33307
33736
|
}
|
|
33308
33737
|
function importMetaResolve(specifier) {
|
|
33309
33738
|
if (import.meta.resolve) return import.meta.resolve(specifier);
|
|
33310
|
-
return new URL(
|
|
33739
|
+
return new URL(
|
|
33740
|
+
specifier,
|
|
33741
|
+
/** #__KEEP__ */
|
|
33742
|
+
import.meta.url
|
|
33743
|
+
).href;
|
|
33311
33744
|
}
|
|
33312
33745
|
promise = allSettled(deps.map((dep) => {
|
|
33313
33746
|
dep = assetsURL(dep, importerUrl);
|
|
@@ -33348,7 +33781,10 @@ function preload(baseModule, deps, importerUrl) {
|
|
|
33348
33781
|
}
|
|
33349
33782
|
function getPreloadCode(environment, renderBuiltUrlBoolean, isRelativeBase) {
|
|
33350
33783
|
const { modulePreload } = environment.config.build;
|
|
33351
|
-
|
|
33784
|
+
const scriptRel = modulePreload && modulePreload.polyfill ? `'modulepreload'` : `/* @__PURE__ */ (${detectScriptRel.toString()})()`;
|
|
33785
|
+
const assetsURL = renderBuiltUrlBoolean || isRelativeBase ? `function(dep, importerUrl) { return new URL(dep, importerUrl).href }` : `function(dep) { return ${JSON.stringify(environment.config.base)}+dep }`;
|
|
33786
|
+
const preloadMethodCode = preload.toString().replaceAll("𝐢𝐦𝐩𝐨𝐫𝐭", "import");
|
|
33787
|
+
return `const scriptRel = ${scriptRel};const assetsURL = ${assetsURL};const seen = {};export const ${preloadMethod} = ${preloadMethodCode}`;
|
|
33352
33788
|
}
|
|
33353
33789
|
/**
|
|
33354
33790
|
* Build only. During serve this is performed as part of ./importAnalysis.
|
|
@@ -33419,16 +33855,14 @@ function buildImportAnalysisPlugin(config) {
|
|
|
33419
33855
|
let importMapMapping;
|
|
33420
33856
|
let importMapReverseMapping;
|
|
33421
33857
|
if (config.build.chunkImportMap) {
|
|
33422
|
-
const
|
|
33423
|
-
|
|
33424
|
-
const importMapContent = JSON.parse(typeof importMap.source === "string" ? importMap.source : decoder.decode(importMap.source));
|
|
33425
|
-
importMapMapping = Object.fromEntries(Object.entries(importMapContent.imports).map(([k, v]) => [k.slice(config.base.length), v.slice(config.base.length)]));
|
|
33858
|
+
const importMap = getImportMap(bundle, config);
|
|
33859
|
+
importMapMapping = importMap.mapping;
|
|
33426
33860
|
importMapReverseMapping = Object.fromEntries(Object.entries(importMapMapping).map(([k, v]) => [v, k]));
|
|
33427
33861
|
if (config.isOutputOptionsForLegacyChunks?.(opts)) {
|
|
33428
33862
|
this.emitFile({
|
|
33429
33863
|
type: "asset",
|
|
33430
33864
|
fileName: "importmap.legacy.json",
|
|
33431
|
-
source: importMap.source
|
|
33865
|
+
source: importMap.asset.source
|
|
33432
33866
|
});
|
|
33433
33867
|
delete bundle[getImportMapFilename(config)];
|
|
33434
33868
|
}
|
|
@@ -34886,7 +35320,7 @@ function esbuildBannerFooterCompatPlugin(config) {
|
|
|
34886
35320
|
async function resolvePlugins(config, prePlugins, normalPlugins, postPlugins) {
|
|
34887
35321
|
const isBuild = config.command === "build";
|
|
34888
35322
|
const isWorker = config.isWorker;
|
|
34889
|
-
const buildPlugins = isBuild || Object.values(config.environments).some((env) => env.isBundled) ?
|
|
35323
|
+
const buildPlugins = isBuild || Object.values(config.environments).some((env) => env.isBundled) ? resolveBuildPlugins(config) : {
|
|
34890
35324
|
pre: [],
|
|
34891
35325
|
post: []
|
|
34892
35326
|
};
|
|
@@ -37718,7 +38152,9 @@ function terserPlugin(config) {
|
|
|
37718
38152
|
return !!environment.config.build.minify;
|
|
37719
38153
|
},
|
|
37720
38154
|
async renderChunk(code, chunk, outputOptions) {
|
|
37721
|
-
|
|
38155
|
+
const usesOxcMinifier = (config.build.minify === true || config.build.minify === "oxc") && outputOptions.minify !== false;
|
|
38156
|
+
const minifyLegacyWithTerser = this.environment.config.isOutputOptionsForLegacyChunks?.(outputOptions) && !usesOxcMinifier;
|
|
38157
|
+
if (config.build.minify !== "terser" && !minifyLegacyWithTerser) return null;
|
|
37722
38158
|
worker ||= makeWorker();
|
|
37723
38159
|
const terserPath = pathToFileURL(loadTerserPath(config.root)).href;
|
|
37724
38160
|
try {
|
|
@@ -37961,30 +38397,6 @@ function areSeparateFolders(a, b) {
|
|
|
37961
38397
|
}
|
|
37962
38398
|
//#endregion
|
|
37963
38399
|
//#region ../../vite/packages/vite/src/node/build.ts
|
|
37964
|
-
var build_exports = /* @__PURE__ */ __exportAll({
|
|
37965
|
-
BuildEnvironment: () => BuildEnvironment,
|
|
37966
|
-
ChunkMetadataMap: () => ChunkMetadataMap,
|
|
37967
|
-
build: () => build,
|
|
37968
|
-
buildEnvironmentOptionsDefaults: () => buildEnvironmentOptionsDefaults,
|
|
37969
|
-
builderOptionsDefaults: () => builderOptionsDefaults,
|
|
37970
|
-
clearLine: () => clearLine,
|
|
37971
|
-
createBuilder: () => createBuilder,
|
|
37972
|
-
createToImportMetaURLBasedRelativeRuntime: () => createToImportMetaURLBasedRelativeRuntime,
|
|
37973
|
-
enhanceRollupError: () => enhanceRollupError,
|
|
37974
|
-
injectEnvironmentToHooks: () => injectEnvironmentToHooks,
|
|
37975
|
-
onRollupLog: () => onRollupLog,
|
|
37976
|
-
resolveBuildEnvironmentOptions: () => resolveBuildEnvironmentOptions,
|
|
37977
|
-
resolveBuildOutputs: () => resolveBuildOutputs,
|
|
37978
|
-
resolveBuildPlugins: () => resolveBuildPlugins,
|
|
37979
|
-
resolveBuilderOptions: () => resolveBuilderOptions,
|
|
37980
|
-
resolveLibFilename: () => resolveLibFilename,
|
|
37981
|
-
resolveRolldownOptions: () => resolveRolldownOptions,
|
|
37982
|
-
resolveUserExternal: () => resolveUserExternal,
|
|
37983
|
-
toOutputFilePathInCss: () => toOutputFilePathInCss,
|
|
37984
|
-
toOutputFilePathInHtml: () => toOutputFilePathInHtml,
|
|
37985
|
-
toOutputFilePathInJS: () => toOutputFilePathInJS,
|
|
37986
|
-
toOutputFilePathWithoutRuntime: () => toOutputFilePathWithoutRuntime
|
|
37987
|
-
});
|
|
37988
38400
|
const _buildEnvironmentOptionsDefaults = Object.freeze({
|
|
37989
38401
|
target: "baseline-widely-available",
|
|
37990
38402
|
/** @deprecated */
|
|
@@ -38830,10 +39242,10 @@ function createDepsOptimizer(environment) {
|
|
|
38830
39242
|
optimizationResult?.cancel()
|
|
38831
39243
|
]);
|
|
38832
39244
|
}
|
|
38833
|
-
let
|
|
39245
|
+
let initState = "idle";
|
|
38834
39246
|
async function init() {
|
|
38835
|
-
if (
|
|
38836
|
-
|
|
39247
|
+
if (initState !== "idle") return;
|
|
39248
|
+
initState = "initializing";
|
|
38837
39249
|
const cachedMetadata = await loadCachedDepOptimizationMetadata(environment);
|
|
38838
39250
|
firstRunCalled = !!cachedMetadata;
|
|
38839
39251
|
metadata = depsOptimizer.metadata = cachedMetadata || initDepsOptimizerMetadata(environment, sessionTimestamp);
|
|
@@ -38890,6 +39302,7 @@ function createDepsOptimizer(environment) {
|
|
|
38890
39302
|
})();
|
|
38891
39303
|
});
|
|
38892
39304
|
}
|
|
39305
|
+
initState = "initialized";
|
|
38893
39306
|
}
|
|
38894
39307
|
function startNextDiscoveredBatch() {
|
|
38895
39308
|
newDepsDiscovered = false;
|
|
@@ -39026,7 +39439,7 @@ function createDepsOptimizer(environment) {
|
|
|
39026
39439
|
let missing = metadata.discovered[id];
|
|
39027
39440
|
if (missing) return missing;
|
|
39028
39441
|
missing = addMissingDep(id, resolved);
|
|
39029
|
-
if (!waitingForCrawlEnd) debouncedProcessing();
|
|
39442
|
+
if (initState === "initialized" && !waitingForCrawlEnd) debouncedProcessing();
|
|
39030
39443
|
return missing;
|
|
39031
39444
|
}
|
|
39032
39445
|
function addMissingDep(id, resolved) {
|
|
@@ -41434,4 +41847,4 @@ const parseAst$1 = parseAst;
|
|
|
41434
41847
|
const parseAstAsync$1 = parseAstAsync;
|
|
41435
41848
|
const esbuildVersion = "0.25.0";
|
|
41436
41849
|
//#endregion
|
|
41437
|
-
export { mergeConfig as $,
|
|
41850
|
+
export { mergeConfig as $, createServer$2 as A, ssrTransform as B, fetchModule as C, optimizeDeps as D, createBuilder as E, createIdResolver as F, resolveEnvPrefix as G, createServerModuleRunnerTransport as H, perEnvironmentState as I, createLogger as J, transformWithOxc as K, isFileLoadingAllowed as L, formatPostcssSourceMap as M, preprocessCSS as N, optimizer_exports as O, searchForWorkspaceRoot as P, mergeAlias as Q, isFileServingAllowed as R, DevEnvironment as S, build as T, buildErrorMessage as U, createServerModuleRunner as V, loadEnv as W, createFilter$1 as X, perEnvironmentPlugin as Y, isCSSRequest as Z, runnerImport as _, minifySync as a, DEFAULT_CLIENT_MAIN_FIELDS as at, createRunnableDevEnvironment as b, parseAstAsync$1 as c, DEFAULT_SERVER_MAIN_FIELDS as ct, isFetchableDevEnvironment as d, defaultAllowedOrigins as dt, normalizePath$1 as et, config_exports as f, require_picocolors as ft, sortUserPlugins as g, resolveConfig as h, __toESM as ht, minify as i, DEFAULT_CLIENT_CONDITIONS as it, server_exports as j, createServerHotChannel as k, parseSync as l, VERSION as lt, loadConfigFromFile as m, __require$1 as mt, esbuildVersion as n, rollupVersion as nt, parse as o, DEFAULT_EXTERNAL_CONDITIONS as ot, defineConfig as p, __commonJSMin as pt, transformWithEsbuild as q, esmExternalRequirePlugin$1 as r, withFilter as rt, parseAst$1 as s, DEFAULT_SERVER_CONDITIONS as st, Visitor as t, rolldownVersion as tt, createFetchableDevEnvironment as u, VITE_PLUS_VERSION as ut, preview as v, BuildEnvironment as w, isRunnableDevEnvironment as x, preview_exports as y, send$1 as z };
|