weapp-vite 5.5.0 → 5.6.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.
Files changed (44) hide show
  1. package/dist/auto-import-components/resolvers.cjs +5 -5
  2. package/dist/auto-import-components/resolvers.d.cts +2 -2
  3. package/dist/auto-import-components/resolvers.d.ts +2 -2
  4. package/dist/auto-import-components/resolvers.mjs +1 -1
  5. package/dist/auto-routes.cjs +8 -8
  6. package/dist/auto-routes.mjs +4 -4
  7. package/dist/{chunk-T4MUKDMP.mjs → chunk-2JQYFUSO.mjs} +5185 -3829
  8. package/dist/{chunk-OWCDSB6F.cjs → chunk-2Q7K5AR4.cjs} +6 -6
  9. package/dist/{chunk-DVVMF6ND.cjs → chunk-ACNTFTT2.cjs} +2 -2
  10. package/dist/{chunk-7MAZ2JUY.mjs → chunk-C5ZVOPAJ.mjs} +10 -3
  11. package/dist/{chunk-HVMR6H5Z.mjs → chunk-DG5WTO5V.mjs} +1 -1
  12. package/dist/chunk-EKHZHEQK.cjs +6 -0
  13. package/dist/{chunk-NANSUN4W.mjs → chunk-JMKI52G2.mjs} +1 -1
  14. package/dist/{chunk-FUOZYLBR.mjs → chunk-JXSGMLN2.mjs} +1 -1
  15. package/dist/{chunk-QCLEMTCV.mjs → chunk-K2MHCVVB.mjs} +2 -2
  16. package/dist/{chunk-5GG5TEGR.cjs → chunk-KE6RSOKX.cjs} +5414 -4058
  17. package/dist/{chunk-OS76JPG2.cjs → chunk-WWFEREWV.cjs} +11 -4
  18. package/dist/{chunk-BT7FLFCC.cjs → chunk-ZIRGPJR5.cjs} +2 -2
  19. package/dist/cli.cjs +40 -40
  20. package/dist/cli.mjs +3 -3
  21. package/dist/{config-DepC4j8j.d.ts → config-BaoM7pt1.d.ts} +99 -7
  22. package/dist/{config-CzCzK7Jh.d.cts → config-D7WbfUyN.d.cts} +99 -7
  23. package/dist/config.cjs +4 -4
  24. package/dist/config.d.cts +4 -4
  25. package/dist/config.d.ts +4 -4
  26. package/dist/config.mjs +3 -3
  27. package/dist/index.cjs +8 -8
  28. package/dist/index.d.cts +5 -5
  29. package/dist/index.d.ts +5 -5
  30. package/dist/index.mjs +6 -6
  31. package/dist/json.cjs +3 -3
  32. package/dist/json.d.cts +5 -5
  33. package/dist/json.d.ts +5 -5
  34. package/dist/json.mjs +2 -2
  35. package/dist/{types-g_G_na7r.d.ts → types-3q1Qq6Fe.d.cts} +1 -1
  36. package/dist/{types-g_G_na7r.d.cts → types-3q1Qq6Fe.d.ts} +1 -1
  37. package/dist/types.cjs +11 -8
  38. package/dist/types.d.cts +13 -2
  39. package/dist/types.d.ts +13 -2
  40. package/dist/types.mjs +5 -2
  41. package/dist/volar.cjs +2 -2
  42. package/dist/volar.mjs +1 -1
  43. package/package.json +12 -12
  44. package/dist/chunk-U5ERJUOU.cjs +0 -6
@@ -2,20 +2,20 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk5GG5TEGRcjs = require('./chunk-5GG5TEGR.cjs');
5
+ var _chunkKE6RSOKXcjs = require('./chunk-KE6RSOKX.cjs');
6
6
 
7
7
 
8
- var _chunkOS76JPG2cjs = require('./chunk-OS76JPG2.cjs');
8
+ var _chunkWWFEREWVcjs = require('./chunk-WWFEREWV.cjs');
9
9
 
10
10
  // src/createContext.ts
11
- _chunkOS76JPG2cjs.init_cjs_shims.call(void 0, );
11
+ _chunkWWFEREWVcjs.init_cjs_shims.call(void 0, );
12
12
  async function createCompilerContext(options) {
13
13
  const key = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _ => _.key]), () => ( "default"));
14
14
  if (!_optionalChain([options, 'optionalAccess', _2 => _2.key])) {
15
- _chunk5GG5TEGRcjs.resetCompilerContext.call(void 0, key);
15
+ _chunkKE6RSOKXcjs.resetCompilerContext.call(void 0, key);
16
16
  }
17
- _chunk5GG5TEGRcjs.setActiveCompilerContextKey.call(void 0, key);
18
- const ctx = _chunk5GG5TEGRcjs.getCompilerContext.call(void 0, key);
17
+ _chunkKE6RSOKXcjs.setActiveCompilerContextKey.call(void 0, key);
18
+ const ctx = _chunkKE6RSOKXcjs.getCompilerContext.call(void 0, key);
19
19
  const { configService, scanService, autoRoutesService } = ctx;
20
20
  await configService.load(options);
21
21
  if (autoRoutesService) {
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkOS76JPG2cjs = require('./chunk-OS76JPG2.cjs');
3
+ var _chunkWWFEREWVcjs = require('./chunk-WWFEREWV.cjs');
4
4
 
5
5
  // src/config.ts
6
- _chunkOS76JPG2cjs.init_cjs_shims.call(void 0, );
6
+ _chunkWWFEREWVcjs.init_cjs_shims.call(void 0, );
7
7
  function defineConfig(config) {
8
8
  return config;
9
9
  }
@@ -4,10 +4,16 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
8
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
9
+ }) : x)(function(x) {
10
+ if (typeof require !== "undefined") return require.apply(this, arguments);
11
+ throw Error('Dynamic require of "' + x + '" is not supported');
12
+ });
7
13
  var __esm = (fn, res) => function __init() {
8
14
  return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
9
15
  };
10
- var __commonJS = (cb, mod) => function __require() {
16
+ var __commonJS = (cb, mod) => function __require2() {
11
17
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
12
18
  };
13
19
  var __copyProps = (to, from, except, desc) => {
@@ -27,16 +33,17 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
33
  mod
28
34
  ));
29
35
 
30
- // ../../node_modules/.pnpm/tsup@8.5.0_@swc+core@1.13.19_jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/esm_shims.js
36
+ // ../../node_modules/.pnpm/tsup@8.5.0_@swc+core@1.13.21_jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/esm_shims.js
31
37
  import path from "path";
32
38
  import { fileURLToPath } from "url";
33
39
  var init_esm_shims = __esm({
34
- "../../node_modules/.pnpm/tsup@8.5.0_@swc+core@1.13.19_jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/esm_shims.js"() {
40
+ "../../node_modules/.pnpm/tsup@8.5.0_@swc+core@1.13.21_jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/esm_shims.js"() {
35
41
  "use strict";
36
42
  }
37
43
  });
38
44
 
39
45
  export {
46
+ __require,
40
47
  __commonJS,
41
48
  __toESM,
42
49
  init_esm_shims
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-7MAZ2JUY.mjs";
3
+ } from "./chunk-C5ZVOPAJ.mjs";
4
4
 
5
5
  // src/config.ts
6
6
  init_esm_shims();
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ var _chunkWWFEREWVcjs = require('./chunk-WWFEREWV.cjs');
4
+
5
+ // src/types/external.ts
6
+ _chunkWWFEREWVcjs.init_cjs_shims.call(void 0, );
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-7MAZ2JUY.mjs";
3
+ } from "./chunk-C5ZVOPAJ.mjs";
4
4
 
5
5
  // src/types/external.ts
6
6
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-7MAZ2JUY.mjs";
3
+ } from "./chunk-C5ZVOPAJ.mjs";
4
4
 
5
5
  // src/json.ts
6
6
  init_esm_shims();
@@ -2,10 +2,10 @@ import {
2
2
  getCompilerContext,
3
3
  resetCompilerContext,
4
4
  setActiveCompilerContextKey
5
- } from "./chunk-T4MUKDMP.mjs";
5
+ } from "./chunk-2JQYFUSO.mjs";
6
6
  import {
7
7
  init_esm_shims
8
- } from "./chunk-7MAZ2JUY.mjs";
8
+ } from "./chunk-C5ZVOPAJ.mjs";
9
9
 
10
10
  // src/createContext.ts
11
11
  init_esm_shims();