vite 8.1.5 → 8.2.0-beta.0
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.md +35 -0
- package/dist/client/bundledDevClient.mjs +1455 -0
- package/dist/client/client.mjs +51 -82
- package/dist/node/chunks/build.js +19 -19
- package/dist/node/chunks/node.js +1054 -303
- package/dist/node/chunks/postcss-import.js +10 -10
- package/dist/node/index.d.ts +54 -13
- package/dist/node/module-runner.js +13 -8
- package/package.json +9 -9
- package/types/customEvent.d.ts +1 -1
- package/types/hmrPayload.d.ts +20 -6
package/dist/client/client.mjs
CHANGED
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
import "@vite/env";
|
|
2
|
-
//#region
|
|
3
|
-
let urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
4
|
-
let nanoid = (size = 21) => {
|
|
5
|
-
let id = "";
|
|
6
|
-
let i = size | 0;
|
|
7
|
-
while (i-- > 0) id += urlAlphabet[Math.random() * 64 | 0];
|
|
8
|
-
return id;
|
|
9
|
-
};
|
|
10
|
-
//#endregion
|
|
11
|
-
//#region \0@oxc-project+runtime@0.139.0/helpers/esm/typeof.js
|
|
2
|
+
//#region \0@oxc-project+runtime@0.140.0/helpers/esm/typeof.js
|
|
12
3
|
function _typeof(o) {
|
|
13
4
|
"@babel/helpers - typeof";
|
|
14
5
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -18,7 +9,7 @@ function _typeof(o) {
|
|
|
18
9
|
}, _typeof(o);
|
|
19
10
|
}
|
|
20
11
|
//#endregion
|
|
21
|
-
//#region \0@oxc-project+runtime@0.
|
|
12
|
+
//#region \0@oxc-project+runtime@0.140.0/helpers/esm/toPrimitive.js
|
|
22
13
|
function toPrimitive(t, r) {
|
|
23
14
|
if ("object" != _typeof(t) || !t) return t;
|
|
24
15
|
var e = t[Symbol.toPrimitive];
|
|
@@ -30,13 +21,13 @@ function toPrimitive(t, r) {
|
|
|
30
21
|
return ("string" === r ? String : Number)(t);
|
|
31
22
|
}
|
|
32
23
|
//#endregion
|
|
33
|
-
//#region \0@oxc-project+runtime@0.
|
|
24
|
+
//#region \0@oxc-project+runtime@0.140.0/helpers/esm/toPropertyKey.js
|
|
34
25
|
function toPropertyKey(t) {
|
|
35
26
|
var i = toPrimitive(t, "string");
|
|
36
27
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
37
28
|
}
|
|
38
29
|
//#endregion
|
|
39
|
-
//#region \0@oxc-project+runtime@0.
|
|
30
|
+
//#region \0@oxc-project+runtime@0.140.0/helpers/esm/defineProperty.js
|
|
40
31
|
function _defineProperty(e, r, t) {
|
|
41
32
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
42
33
|
value: t,
|
|
@@ -171,14 +162,18 @@ var HMRClient = class {
|
|
|
171
162
|
this.ctxToListenersMap.clear();
|
|
172
163
|
}
|
|
173
164
|
async prunePaths(paths) {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
165
|
+
try {
|
|
166
|
+
await Promise.all(paths.map((path) => {
|
|
167
|
+
const disposer = this.disposeMap.get(path);
|
|
168
|
+
if (disposer) return disposer(this.dataMap.get(path));
|
|
169
|
+
}));
|
|
170
|
+
await Promise.all(paths.map((path) => {
|
|
171
|
+
const fn = this.pruneMap.get(path);
|
|
172
|
+
if (fn) return fn(this.dataMap.get(path));
|
|
173
|
+
}));
|
|
174
|
+
} finally {
|
|
175
|
+
paths.forEach((path) => this.dataMap.delete(path));
|
|
176
|
+
}
|
|
182
177
|
}
|
|
183
178
|
warnFailedUpdate(err, path) {
|
|
184
179
|
if (!(err instanceof Error) || !err.message.includes("fetch")) this.logger.error(err);
|
|
@@ -229,6 +224,15 @@ var HMRClient = class {
|
|
|
229
224
|
}
|
|
230
225
|
};
|
|
231
226
|
//#endregion
|
|
227
|
+
//#region ../../node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/non-secure/index.js
|
|
228
|
+
let urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
229
|
+
let nanoid = (size = 21) => {
|
|
230
|
+
let id = "";
|
|
231
|
+
let i = size | 0;
|
|
232
|
+
while (i-- > 0) id += urlAlphabet[Math.random() * 64 | 0];
|
|
233
|
+
return id;
|
|
234
|
+
};
|
|
235
|
+
//#endregion
|
|
232
236
|
//#region src/shared/constants.ts
|
|
233
237
|
let SOURCEMAPPING_URL = "sourceMa";
|
|
234
238
|
SOURCEMAPPING_URL += "ppingURL";
|
|
@@ -858,7 +862,6 @@ const directSocketHost = __HMR_DIRECT_TARGET__;
|
|
|
858
862
|
const base = __BASE__ || "/";
|
|
859
863
|
const hmrTimeout = __HMR_TIMEOUT__;
|
|
860
864
|
const wsToken = __WS_TOKEN__;
|
|
861
|
-
const isBundleMode = __BUNDLED_DEV__;
|
|
862
865
|
const forwardConsole = __SERVER_FORWARD_CONSOLE__;
|
|
863
866
|
const transport = normalizeModuleRunnerTransport((() => {
|
|
864
867
|
let wsTransport = createWebSocketModuleRunnerTransport({
|
|
@@ -928,14 +931,7 @@ const pageReload = debounceReload(20);
|
|
|
928
931
|
const hmrClient = new HMRClient({
|
|
929
932
|
error: (err) => console.error("[vite]", err),
|
|
930
933
|
debug: (...msg) => console.debug("[vite]", ...msg)
|
|
931
|
-
}, transport,
|
|
932
|
-
const importPromise = import(base + url).then(() => globalThis.__rolldown_runtime__.loadExports(acceptedPath));
|
|
933
|
-
if (isWithinCircularImport) importPromise.catch(() => {
|
|
934
|
-
console.info(`[hmr] ${acceptedPath} failed to apply HMR as it's within a circular import. Reloading page to reset the execution order. To debug and break the circular import, you can run \`vite --debug hmr\` to log the circular dependency path if a file change triggered it.`);
|
|
935
|
-
pageReload();
|
|
936
|
-
});
|
|
937
|
-
return await importPromise;
|
|
938
|
-
} : async function importUpdatedModule({ acceptedPath, timestamp, explicitImportRequired, isWithinCircularImport }) {
|
|
934
|
+
}, transport, async function importUpdatedModule({ acceptedPath, timestamp, explicitImportRequired, isWithinCircularImport }) {
|
|
939
935
|
const [acceptedPathWithoutQuery, query] = acceptedPath.split(`?`);
|
|
940
936
|
const importPromise = import(
|
|
941
937
|
/* @vite-ignore */
|
|
@@ -947,22 +943,32 @@ const hmrClient = new HMRClient({
|
|
|
947
943
|
});
|
|
948
944
|
return await importPromise;
|
|
949
945
|
});
|
|
946
|
+
let bundledDevClient;
|
|
950
947
|
transport.connect(createHMRHandler(handleMessage));
|
|
951
948
|
setupForwardConsoleHandler(transport, forwardConsole);
|
|
949
|
+
function clearOverlayOrReloadOnFirstUpdate() {
|
|
950
|
+
if (hasDocument) {
|
|
951
|
+
if (isFirstUpdate && hasErrorOverlay()) {
|
|
952
|
+
location.reload();
|
|
953
|
+
return "reload";
|
|
954
|
+
}
|
|
955
|
+
if (enableOverlay) clearErrorOverlay();
|
|
956
|
+
isFirstUpdate = false;
|
|
957
|
+
}
|
|
958
|
+
return "continue";
|
|
959
|
+
}
|
|
952
960
|
async function handleMessage(payload) {
|
|
961
|
+
const activeHmrClient = hmrClient;
|
|
953
962
|
switch (payload.type) {
|
|
954
963
|
case "connected":
|
|
955
964
|
console.debug(`[vite] connected.`);
|
|
956
965
|
break;
|
|
966
|
+
case "bundled-dev-update":
|
|
967
|
+
bundledDevClient.handlePush(payload);
|
|
968
|
+
break;
|
|
957
969
|
case "update":
|
|
958
|
-
await
|
|
959
|
-
if (
|
|
960
|
-
location.reload();
|
|
961
|
-
return;
|
|
962
|
-
} else {
|
|
963
|
-
if (enableOverlay) clearErrorOverlay();
|
|
964
|
-
isFirstUpdate = false;
|
|
965
|
-
}
|
|
970
|
+
await activeHmrClient.notifyListeners("vite:beforeUpdate", payload);
|
|
971
|
+
if (clearOverlayOrReloadOnFirstUpdate() === "reload") return;
|
|
966
972
|
await Promise.all(payload.updates.map(async (update) => {
|
|
967
973
|
if (update.type === "js-update") return hmrClient.queueUpdate(update);
|
|
968
974
|
const { path, timestamp } = update;
|
|
@@ -984,10 +990,10 @@ async function handleMessage(payload) {
|
|
|
984
990
|
el.after(newLinkTag);
|
|
985
991
|
});
|
|
986
992
|
}));
|
|
987
|
-
await
|
|
993
|
+
await activeHmrClient.notifyListeners("vite:afterUpdate", payload);
|
|
988
994
|
break;
|
|
989
995
|
case "custom":
|
|
990
|
-
await
|
|
996
|
+
await activeHmrClient.notifyListeners(payload.event, payload.data);
|
|
991
997
|
if (payload.event === "vite:ws:disconnect") {
|
|
992
998
|
if (hasDocument && !willUnload) {
|
|
993
999
|
console.log(`[vite] server connection lost. Polling for restart...`);
|
|
@@ -1000,7 +1006,8 @@ async function handleMessage(payload) {
|
|
|
1000
1006
|
}
|
|
1001
1007
|
break;
|
|
1002
1008
|
case "full-reload":
|
|
1003
|
-
|
|
1009
|
+
if (payload.ifFallback && !globalThis.__vite_is_fallback_page__) break;
|
|
1010
|
+
await activeHmrClient.notifyListeners("vite:beforeFullReload", payload);
|
|
1004
1011
|
if (hasDocument) if (payload.path && payload.path.endsWith(".html")) {
|
|
1005
1012
|
const pagePath = decodeURI(location.pathname);
|
|
1006
1013
|
const payloadPath = base + payload.path.slice(1);
|
|
@@ -1009,11 +1016,11 @@ async function handleMessage(payload) {
|
|
|
1009
1016
|
} else pageReload();
|
|
1010
1017
|
break;
|
|
1011
1018
|
case "prune":
|
|
1012
|
-
await
|
|
1013
|
-
await
|
|
1019
|
+
await activeHmrClient.notifyListeners("vite:beforePrune", payload);
|
|
1020
|
+
await activeHmrClient.prunePaths(payload.paths);
|
|
1014
1021
|
break;
|
|
1015
1022
|
case "error":
|
|
1016
|
-
await
|
|
1023
|
+
await activeHmrClient.notifyListeners("vite:error", payload);
|
|
1017
1024
|
if (hasDocument) {
|
|
1018
1025
|
const err = payload.err;
|
|
1019
1026
|
if (enableOverlay) createErrorOverlay(err);
|
|
@@ -1227,43 +1234,5 @@ function injectQuery(url, queryToInject) {
|
|
|
1227
1234
|
const { search, hash } = new URL(url, "http://vite.dev");
|
|
1228
1235
|
return `${pathname}?${queryToInject}${search ? `&` + search.slice(1) : ""}${hash || ""}`;
|
|
1229
1236
|
}
|
|
1230
|
-
if (isBundleMode && typeof DevRuntime !== "undefined") {
|
|
1231
|
-
var _ref;
|
|
1232
|
-
class ViteDevRuntime extends DevRuntime {
|
|
1233
|
-
createModuleHotContext(moduleId) {
|
|
1234
|
-
const ctx = createHotContext(moduleId);
|
|
1235
|
-
ctx._internal = {
|
|
1236
|
-
updateStyle,
|
|
1237
|
-
removeStyle
|
|
1238
|
-
};
|
|
1239
|
-
return ctx;
|
|
1240
|
-
}
|
|
1241
|
-
applyUpdates(_boundaries) {}
|
|
1242
|
-
}
|
|
1243
|
-
const clientId = nanoid();
|
|
1244
|
-
transport.send({
|
|
1245
|
-
type: "custom",
|
|
1246
|
-
event: "vite:module-loaded",
|
|
1247
|
-
data: {
|
|
1248
|
-
modules: [],
|
|
1249
|
-
clientId
|
|
1250
|
-
}
|
|
1251
|
-
});
|
|
1252
|
-
(_ref = globalThis).__rolldown_runtime__ ?? (_ref.__rolldown_runtime__ = new ViteDevRuntime({ send(message) {
|
|
1253
|
-
switch (message.type) {
|
|
1254
|
-
case "hmr:module-registered":
|
|
1255
|
-
transport.send({
|
|
1256
|
-
type: "custom",
|
|
1257
|
-
event: "vite:module-loaded",
|
|
1258
|
-
data: {
|
|
1259
|
-
modules: message.modules.slice(),
|
|
1260
|
-
clientId
|
|
1261
|
-
}
|
|
1262
|
-
});
|
|
1263
|
-
break;
|
|
1264
|
-
default: throw new Error(`Unknown message type: ${JSON.stringify(message)}`);
|
|
1265
|
-
}
|
|
1266
|
-
} }, clientId));
|
|
1267
|
-
}
|
|
1268
1237
|
//#endregion
|
|
1269
1238
|
export { ErrorOverlay, createHotContext, injectQuery, removeStyle, updateStyle };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ft as __commonJSMin, pt as __require } from "./node.js";
|
|
2
2
|
import { t as require_lib } from "./lib.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.20/node_modules/postcss-modules/build/fs.js
|
|
4
4
|
var require_fs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
function _export(target, all) {
|
|
@@ -34,7 +34,7 @@ var require_fs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34
34
|
}
|
|
35
35
|
}));
|
|
36
36
|
//#endregion
|
|
37
|
-
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.
|
|
37
|
+
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.20/node_modules/postcss-modules/build/unquote.js
|
|
38
38
|
var require_unquote = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
39
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
40
|
Object.defineProperty(exports, "default", {
|
|
@@ -52,7 +52,7 @@ var require_unquote = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
52
52
|
}
|
|
53
53
|
}));
|
|
54
54
|
//#endregion
|
|
55
|
-
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.
|
|
55
|
+
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.20/node_modules/icss-utils/src/replaceValueSymbols.js
|
|
56
56
|
var require_replaceValueSymbols = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
57
57
|
const matchValueName = /[$]?[\w-]+/g;
|
|
58
58
|
const replaceValueSymbols = (value, replacements) => {
|
|
@@ -69,7 +69,7 @@ var require_replaceValueSymbols = /* @__PURE__ */ __commonJSMin(((exports, modul
|
|
|
69
69
|
module.exports = replaceValueSymbols;
|
|
70
70
|
}));
|
|
71
71
|
//#endregion
|
|
72
|
-
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.
|
|
72
|
+
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.20/node_modules/icss-utils/src/replaceSymbols.js
|
|
73
73
|
var require_replaceSymbols = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
74
74
|
const replaceValueSymbols = require_replaceValueSymbols();
|
|
75
75
|
const replaceSymbols = (css, replacements) => {
|
|
@@ -82,7 +82,7 @@ var require_replaceSymbols = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
82
82
|
module.exports = replaceSymbols;
|
|
83
83
|
}));
|
|
84
84
|
//#endregion
|
|
85
|
-
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.
|
|
85
|
+
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.20/node_modules/icss-utils/src/extractICSS.js
|
|
86
86
|
var require_extractICSS = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
87
87
|
const importPattern = /^:import\(("[^"]*"|'[^']*'|[^"']+)\)$/;
|
|
88
88
|
const balancedQuotes = /^("[^"]*"|'[^']*'|[^"']+)$/;
|
|
@@ -136,7 +136,7 @@ var require_extractICSS = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
136
136
|
module.exports = extractICSS;
|
|
137
137
|
}));
|
|
138
138
|
//#endregion
|
|
139
|
-
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.
|
|
139
|
+
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.20/node_modules/icss-utils/src/createICSSRules.js
|
|
140
140
|
var require_createICSSRules = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
141
141
|
const createImports = (imports, postcss, mode = "rule") => {
|
|
142
142
|
return Object.keys(imports).map((path) => {
|
|
@@ -180,7 +180,7 @@ var require_createICSSRules = /* @__PURE__ */ __commonJSMin(((exports, module) =
|
|
|
180
180
|
module.exports = createICSSRules;
|
|
181
181
|
}));
|
|
182
182
|
//#endregion
|
|
183
|
-
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.
|
|
183
|
+
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.20/node_modules/icss-utils/src/index.js
|
|
184
184
|
var require_src$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
185
185
|
module.exports = {
|
|
186
186
|
replaceValueSymbols: require_replaceValueSymbols(),
|
|
@@ -190,7 +190,7 @@ var require_src$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
190
190
|
};
|
|
191
191
|
}));
|
|
192
192
|
//#endregion
|
|
193
|
-
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.
|
|
193
|
+
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.20/node_modules/postcss-modules/build/Parser.js
|
|
194
194
|
var require_Parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
195
195
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
196
196
|
Object.defineProperty(exports, "default", {
|
|
@@ -262,7 +262,7 @@ var require_Parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
262
262
|
};
|
|
263
263
|
}));
|
|
264
264
|
//#endregion
|
|
265
|
-
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.
|
|
265
|
+
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.20/node_modules/postcss-modules/build/saveJSON.js
|
|
266
266
|
var require_saveJSON = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
267
267
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
268
268
|
Object.defineProperty(exports, "default", {
|
|
@@ -944,7 +944,7 @@ var require_lodash_camelcase = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
944
944
|
module.exports = camelCase;
|
|
945
945
|
}));
|
|
946
946
|
//#endregion
|
|
947
|
-
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.
|
|
947
|
+
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.20/node_modules/postcss-modules/build/localsConvention.js
|
|
948
948
|
var require_localsConvention = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
949
949
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
950
950
|
Object.defineProperty(exports, "makeLocalsConventionReducer", {
|
|
@@ -1001,7 +1001,7 @@ var require_localsConvention = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1001
1001
|
}
|
|
1002
1002
|
}));
|
|
1003
1003
|
//#endregion
|
|
1004
|
-
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.
|
|
1004
|
+
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.20/node_modules/postcss-modules/build/FileSystemLoader.js
|
|
1005
1005
|
var require_FileSystemLoader = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1006
1006
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1007
1007
|
Object.defineProperty(exports, "default", {
|
|
@@ -1090,7 +1090,7 @@ var require_FileSystemLoader = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1090
1090
|
};
|
|
1091
1091
|
}));
|
|
1092
1092
|
//#endregion
|
|
1093
|
-
//#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.
|
|
1093
|
+
//#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.20/node_modules/postcss-modules-extract-imports/src/topologicalSort.js
|
|
1094
1094
|
var require_topologicalSort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1095
1095
|
const PERMANENT_MARKER = 2;
|
|
1096
1096
|
const TEMPORARY_MARKER = 1;
|
|
@@ -1129,7 +1129,7 @@ var require_topologicalSort = /* @__PURE__ */ __commonJSMin(((exports, module) =
|
|
|
1129
1129
|
module.exports = topologicalSort;
|
|
1130
1130
|
}));
|
|
1131
1131
|
//#endregion
|
|
1132
|
-
//#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.
|
|
1132
|
+
//#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.20/node_modules/postcss-modules-extract-imports/src/index.js
|
|
1133
1133
|
var require_src$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1134
1134
|
const topologicalSort = require_topologicalSort();
|
|
1135
1135
|
const matchImports = /^(.+?)\s+from\s+(?:"([^"]+)"|'([^']+)'|(global))$/;
|
|
@@ -4640,7 +4640,7 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4640
4640
|
module.exports = exports.default;
|
|
4641
4641
|
}));
|
|
4642
4642
|
//#endregion
|
|
4643
|
-
//#region ../../node_modules/.pnpm/postcss-modules-local-by-default@4.2.0_postcss@8.5.
|
|
4643
|
+
//#region ../../node_modules/.pnpm/postcss-modules-local-by-default@4.2.0_postcss@8.5.20/node_modules/postcss-modules-local-by-default/src/index.js
|
|
4644
4644
|
var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4645
4645
|
const selectorParser = require_dist();
|
|
4646
4646
|
const valueParser = require_lib();
|
|
@@ -5038,7 +5038,7 @@ var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5038
5038
|
module.exports.postcss = true;
|
|
5039
5039
|
}));
|
|
5040
5040
|
//#endregion
|
|
5041
|
-
//#region ../../node_modules/.pnpm/postcss-modules-scope@3.2.1_postcss@8.5.
|
|
5041
|
+
//#region ../../node_modules/.pnpm/postcss-modules-scope@3.2.1_postcss@8.5.20/node_modules/postcss-modules-scope/src/index.js
|
|
5042
5042
|
var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5043
5043
|
const selectorParser = require_dist();
|
|
5044
5044
|
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
@@ -5218,7 +5218,7 @@ var require_string_hash = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5218
5218
|
module.exports = hash;
|
|
5219
5219
|
}));
|
|
5220
5220
|
//#endregion
|
|
5221
|
-
//#region ../../node_modules/.pnpm/postcss-modules-values@4.0.0_postcss@8.5.
|
|
5221
|
+
//#region ../../node_modules/.pnpm/postcss-modules-values@4.0.0_postcss@8.5.20/node_modules/postcss-modules-values/src/index.js
|
|
5222
5222
|
var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5223
5223
|
const ICSSUtils = require_src$4();
|
|
5224
5224
|
const matchImports = /^(.+?|\([\s\S]+?\))\s+from\s+("[^"]*"|'[^']*'|[\w-]+)$/;
|
|
@@ -5305,7 +5305,7 @@ var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5305
5305
|
module.exports.postcss = true;
|
|
5306
5306
|
}));
|
|
5307
5307
|
//#endregion
|
|
5308
|
-
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.
|
|
5308
|
+
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.20/node_modules/postcss-modules/build/scoping.js
|
|
5309
5309
|
var require_scoping = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5310
5310
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5311
5311
|
function _export(target, all) {
|
|
@@ -5384,7 +5384,7 @@ var require_scoping = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5384
5384
|
}
|
|
5385
5385
|
}));
|
|
5386
5386
|
//#endregion
|
|
5387
|
-
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.
|
|
5387
|
+
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.20/node_modules/postcss-modules/build/pluginFactory.js
|
|
5388
5388
|
var require_pluginFactory = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5389
5389
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5390
5390
|
Object.defineProperty(exports, "makePlugin", {
|
|
@@ -5466,7 +5466,7 @@ var require_pluginFactory = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5466
5466
|
}
|
|
5467
5467
|
}));
|
|
5468
5468
|
//#endregion
|
|
5469
|
-
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.
|
|
5469
|
+
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.20/node_modules/postcss-modules/build/index.js
|
|
5470
5470
|
var require_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5471
5471
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5472
5472
|
const _fs = __require("fs");
|