@voidzero-dev/vite-plus-core 0.2.5 → 0.2.7

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.
Files changed (79) hide show
  1. package/LICENSE +31 -7
  2. package/dist/rolldown/cli.d.mts +1 -1
  3. package/dist/rolldown/cli.mjs +6 -6
  4. package/dist/rolldown/config.d.mts +16 -17
  5. package/dist/rolldown/config.mjs +2 -2
  6. package/dist/rolldown/experimental-index.d.mts +164 -155
  7. package/dist/rolldown/experimental-index.mjs +23 -14
  8. package/dist/rolldown/experimental-runtime-types.d.ts +111 -41
  9. package/dist/rolldown/filter-index.d.mts +6 -5
  10. package/dist/rolldown/get-log-filter.d.mts +2 -2
  11. package/dist/rolldown/index.d.mts +3 -3
  12. package/dist/rolldown/index.mjs +4 -4
  13. package/dist/rolldown/parallel-plugin-worker.d.mts +1 -1
  14. package/dist/rolldown/parallel-plugin-worker.mjs +2 -2
  15. package/dist/rolldown/parallel-plugin.d.mts +3 -4
  16. package/dist/rolldown/parse-ast-index.d.mts +19 -20
  17. package/dist/rolldown/parse-ast-index.mjs +1 -1
  18. package/dist/rolldown/plugins-index.d.mts +27 -28
  19. package/dist/rolldown/plugins-index.mjs +2 -2
  20. package/dist/rolldown/shared/{binding-D26QphWG.d.mts → binding-Dbbi0RbO.d.mts} +37 -25
  21. package/dist/rolldown/shared/{binding-TuFFIE_J.mjs → binding-Dby9rwGk.mjs} +26 -26
  22. package/dist/rolldown/shared/{bindingify-input-options-CwbcQL6W.mjs → bindingify-input-options-DVQ4K-zY.mjs} +5 -5
  23. package/dist/rolldown/shared/{constructors-BbWPse2X.d.mts → constructors-CSWbNgBZ.d.mts} +9 -10
  24. package/dist/rolldown/shared/{constructors-D_3i7dpX.mjs → constructors-CuGa75s-.mjs} +1 -1
  25. package/dist/rolldown/shared/define-config-B-IDOhDz.d.mts +4003 -0
  26. package/dist/rolldown/shared/{error-BHRSI0R7.mjs → error-DFGNOCle.mjs} +1 -1
  27. package/dist/rolldown/shared/get-log-filter-AjBknEEO.d.mts +34 -0
  28. package/dist/rolldown/shared/{load-config-Bd7MgqCK.mjs → load-config-R0z2olkB.mjs} +1 -1
  29. package/dist/rolldown/shared/{logging-BSNejiLS.d.mts → logging-xuHO4mAy.d.mts} +6 -6
  30. package/dist/rolldown/shared/{normalize-string-or-regex-dnh67V_w.mjs → normalize-string-or-regex-SiXbePVH.mjs} +1 -1
  31. package/dist/rolldown/shared/{parse-B6_waszz.mjs → parse-D5dkElpf.mjs} +2 -2
  32. package/dist/rolldown/shared/{resolve-tsconfig-DxqIJB3x.mjs → resolve-tsconfig-2TXRF_zr.mjs} +2 -2
  33. package/dist/rolldown/shared/{rolldown-CACDGVWV.mjs → rolldown-BnV7isAX.mjs} +1 -1
  34. package/dist/rolldown/shared/{rolldown-build-BV22mk7t.mjs → rolldown-build-BGXNOfvH.mjs} +4 -4
  35. package/dist/rolldown/shared/transform-Cs2bUDRH.d.mts +148 -0
  36. package/dist/rolldown/shared/{watch-CS_JygCu.mjs → watch-DVucf-VG.mjs} +4 -4
  37. package/dist/rolldown/utils-index.d.mts +29 -30
  38. package/dist/rolldown/utils-index.mjs +6 -8
  39. package/dist/tsdown/{build-BlM3pDGJ-C8Uovnt4.js → build-D_enfyvD-DX5mX46j.js} +149 -1255
  40. package/dist/tsdown/debug-CKcBYQLP-GQrJ--dM.js +159 -0
  41. package/dist/tsdown/{detect-BNXt7gkp-DKAC9Z7n.js → detect-DGhJGEqb-Cz6qOZuP.js} +7 -1
  42. package/dist/tsdown/{dist-Pjag7IPt.js → dist-CWolxbYK.js} +1939 -2529
  43. package/dist/tsdown/dist-DCMiHFrJ.js +1061 -0
  44. package/dist/tsdown/index-types.d.ts +740 -554
  45. package/dist/tsdown/index.js +4 -4
  46. package/dist/tsdown/internal-DAh_SWnB.js +3 -0
  47. package/dist/tsdown/load-tsc-BKULZsrs-Bha6Vsu1.js +18 -0
  48. package/dist/tsdown/{main-BlTcyuFi.js → main-DI8qthUB.js} +222 -9
  49. package/dist/tsdown/{resolver-DtsKFXi2-B8Z3WwZh.js → resolver-cwLsPb2o-DvUqSYux.js} +4 -3
  50. package/dist/tsdown/run.js +5 -5
  51. package/dist/tsdown/{src-CK50m8R_.js → src-CPDzmpAq.js} +5 -5
  52. package/dist/tsdown/target-Bab3CUeB-Di6tCARH.js +582 -0
  53. package/dist/tsdown/{tsc-CilQvmj4.js → tsc-BQoNcjeB.js} +49 -116
  54. package/dist/tsdown/tsc-context-BhMGQ9Qr.js +23 -0
  55. package/dist/tsdown/tsdown-css.js +11 -12
  56. package/dist/tsdown/tsdown-exe.js +129 -877
  57. package/dist/vite/client/client.mjs +5 -5
  58. package/dist/vite/node/chunks/build.js +19 -19
  59. package/dist/vite/node/chunks/moduleRunnerTransport.d.ts +25 -26
  60. package/dist/vite/node/chunks/node.js +73 -38
  61. package/dist/vite/node/chunks/postcss-import.js +10 -10
  62. package/dist/vite/node/index.d.ts +1282 -1283
  63. package/dist/vite/node/module-runner.d.ts +76 -77
  64. package/dist/vite/node/module-runner.js +6 -7
  65. package/package.json +16 -16
  66. package/dist/rolldown/shared/define-config-BhJ90aEv.d.mts +0 -3978
  67. package/dist/rolldown/shared/get-log-filter-BpNVNJ5-.d.mts +0 -35
  68. package/dist/rolldown/shared/transform-BPrUvqEZ.d.mts +0 -149
  69. package/dist/tsdown/debug-B1wUEHkd-DhRzGJTf.js +0 -265
  70. package/dist/tsdown/fs-qxJxxoCE-B_amenYz.js +0 -46
  71. package/dist/tsdown/general-Cp4NiJNK-xAqmPhMP.js +0 -97
  72. package/dist/tsdown/internal-Bn6NGoha.js +0 -3
  73. package/dist/tsdown/npm_cjs_chunk_range.cjs +0 -475
  74. package/dist/tsdown/npm_cjs_chunk_semver.cjs +0 -357
  75. package/dist/tsdown/npm_entry_semver_functions_coerce.cjs +0 -52
  76. package/dist/tsdown/npm_entry_semver_functions_satisfies.cjs +0 -19
  77. package/dist/tsdown/npm_entry_semver_ranges_min-version.cjs +0 -46
  78. package/dist/tsdown/target-CqeSqtms-CIvlAiuG.js +0 -35
  79. package/dist/tsdown/tsc-context-BusiAGCd.js +0 -27
@@ -8,7 +8,7 @@ let nanoid = (size = 21) => {
8
8
  return id;
9
9
  };
10
10
  //#endregion
11
- //#region \0@oxc-project+runtime@0.139.0/helpers/esm/typeof.js
11
+ //#region \0@oxc-project+runtime@0.140.0/helpers/esm/typeof.js
12
12
  function _typeof(o) {
13
13
  "@babel/helpers - typeof";
14
14
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
@@ -18,7 +18,7 @@ function _typeof(o) {
18
18
  }, _typeof(o);
19
19
  }
20
20
  //#endregion
21
- //#region \0@oxc-project+runtime@0.139.0/helpers/esm/toPrimitive.js
21
+ //#region \0@oxc-project+runtime@0.140.0/helpers/esm/toPrimitive.js
22
22
  function toPrimitive(t, r) {
23
23
  if ("object" != _typeof(t) || !t) return t;
24
24
  var e = t[Symbol.toPrimitive];
@@ -30,13 +30,13 @@ function toPrimitive(t, r) {
30
30
  return ("string" === r ? String : Number)(t);
31
31
  }
32
32
  //#endregion
33
- //#region \0@oxc-project+runtime@0.139.0/helpers/esm/toPropertyKey.js
33
+ //#region \0@oxc-project+runtime@0.140.0/helpers/esm/toPropertyKey.js
34
34
  function toPropertyKey(t) {
35
35
  var i = toPrimitive(t, "string");
36
36
  return "symbol" == _typeof(i) ? i : i + "";
37
37
  }
38
38
  //#endregion
39
- //#region \0@oxc-project+runtime@0.139.0/helpers/esm/defineProperty.js
39
+ //#region \0@oxc-project+runtime@0.140.0/helpers/esm/defineProperty.js
40
40
  function _defineProperty(e, r, t) {
41
41
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
42
42
  value: t,
@@ -696,7 +696,7 @@ pre.frame {
696
696
 
697
697
  .message {
698
698
  line-height: 1.3;
699
- font-weight: 600;
699
+ font-weight: 400;
700
700
  white-space: pre-wrap;
701
701
  }
702
702
 
@@ -1,6 +1,6 @@
1
1
  import { mt as __require, pt as __commonJSMin } from "./node.js";
2
2
  import { t as require_lib } from "./lib.js";
3
- //#region ../../node_modules/.pnpm/postcss-modules@9.0.0_patch_hash=0c886ee83450c5fd20d2c88b3ba2cf5d3afbb9c440755757f311439897188056_postcss@8.5.16/node_modules/postcss-modules/build/fs.js
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.0_patch_hash=0c886ee83450c5fd20d2c88b3ba2cf5d3afbb9c440755757f311439897188056_postcss@8.5.16/node_modules/postcss-modules/build/unquote.js
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.16/node_modules/icss-utils/src/replaceValueSymbols.js
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.16/node_modules/icss-utils/src/replaceSymbols.js
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.16/node_modules/icss-utils/src/extractICSS.js
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.16/node_modules/icss-utils/src/createICSSRules.js
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.16/node_modules/icss-utils/src/index.js
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.0_patch_hash=0c886ee83450c5fd20d2c88b3ba2cf5d3afbb9c440755757f311439897188056_postcss@8.5.16/node_modules/postcss-modules/build/Parser.js
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.0_patch_hash=0c886ee83450c5fd20d2c88b3ba2cf5d3afbb9c440755757f311439897188056_postcss@8.5.16/node_modules/postcss-modules/build/saveJSON.js
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.0_patch_hash=0c886ee83450c5fd20d2c88b3ba2cf5d3afbb9c440755757f311439897188056_postcss@8.5.16/node_modules/postcss-modules/build/localsConvention.js
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.0_patch_hash=0c886ee83450c5fd20d2c88b3ba2cf5d3afbb9c440755757f311439897188056_postcss@8.5.16/node_modules/postcss-modules/build/FileSystemLoader.js
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.16/node_modules/postcss-modules-extract-imports/src/topologicalSort.js
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.16/node_modules/postcss-modules-extract-imports/src/index.js
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.16/node_modules/postcss-modules-local-by-default/src/index.js
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.16/node_modules/postcss-modules-scope/src/index.js
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.16/node_modules/postcss-modules-values/src/index.js
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.0_patch_hash=0c886ee83450c5fd20d2c88b3ba2cf5d3afbb9c440755757f311439897188056_postcss@8.5.16/node_modules/postcss-modules/build/scoping.js
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.0_patch_hash=0c886ee83450c5fd20d2c88b3ba2cf5d3afbb9c440755757f311439897188056_postcss@8.5.16/node_modules/postcss-modules/build/pluginFactory.js
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.0_patch_hash=0c886ee83450c5fd20d2c88b3ba2cf5d3afbb9c440755757f311439897188056_postcss@8.5.16/node_modules/postcss-modules/build/index.js
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");
@@ -1,5 +1,4 @@
1
1
  import { HotPayload } from "#types/hmrPayload";
2
-
3
2
  //#region src/shared/invokeMethods.d.ts
4
3
  interface FetchFunctionOptions {
5
4
  cached?: boolean;
@@ -8,47 +7,47 @@ interface FetchFunctionOptions {
8
7
  type FetchResult = CachedFetchResult | ExternalFetchResult | ViteFetchResult;
9
8
  interface CachedFetchResult {
10
9
  /**
11
- * If the module is cached in the runner, this confirms
12
- * it was not invalidated on the server side.
13
- */
10
+ * If the module is cached in the runner, this confirms
11
+ * it was not invalidated on the server side.
12
+ */
14
13
  cache: true;
15
14
  }
16
15
  interface ExternalFetchResult {
17
16
  /**
18
- * The path to the externalized module starting with file://.
19
- * By default this will be imported via a dynamic "import"
20
- * instead of being transformed by Vite and loaded with the Vite runner.
21
- */
17
+ * The path to the externalized module starting with file://.
18
+ * By default this will be imported via a dynamic "import"
19
+ * instead of being transformed by Vite and loaded with the Vite runner.
20
+ */
22
21
  externalize: string;
23
22
  /**
24
- * Type of the module. Used to determine if the import statement is correct.
25
- * For example, if Vite needs to throw an error if a variable is not actually exported.
26
- */
23
+ * Type of the module. Used to determine if the import statement is correct.
24
+ * For example, if Vite needs to throw an error if a variable is not actually exported.
25
+ */
27
26
  type: "module" | "commonjs" | "builtin" | "network";
28
27
  }
29
28
  interface ViteFetchResult {
30
29
  /**
31
- * Code that will be evaluated by the Vite runner.
32
- * By default this will be wrapped in an async function.
33
- */
30
+ * Code that will be evaluated by the Vite runner.
31
+ * By default this will be wrapped in an async function.
32
+ */
34
33
  code: string;
35
34
  /**
36
- * File path of the module on disk.
37
- * This will be resolved as import.meta.url/filename.
38
- * Will be `null` for virtual modules.
39
- */
35
+ * File path of the module on disk.
36
+ * This will be resolved as import.meta.url/filename.
37
+ * Will be `null` for virtual modules.
38
+ */
40
39
  file: string | null;
41
40
  /**
42
- * Module ID in the server module graph.
43
- */
41
+ * Module ID in the server module graph.
42
+ */
44
43
  id: string;
45
44
  /**
46
- * Module URL used in the import.
47
- */
45
+ * Module URL used in the import.
46
+ */
48
47
  url: string;
49
48
  /**
50
- * Invalidate module on the client side.
51
- */
49
+ * Invalidate module on the client side.
50
+ */
52
51
  invalidate: boolean;
53
52
  }
54
53
  type InvokeMethods = {
@@ -69,8 +68,8 @@ type ModuleRunnerTransportHandlers = {
69
68
  onDisconnection: () => void;
70
69
  };
71
70
  /**
72
- * "send and connect" or "invoke" must be implemented
73
- */
71
+ * "send and connect" or "invoke" must be implemented
72
+ */
74
73
  interface ModuleRunnerTransport {
75
74
  connect?(handlers: ModuleRunnerTransportHandlers): Promise<void> | void;
76
75
  disconnect?(): Promise<void> | void;