weapp-vite 5.11.2 → 5.11.4

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.
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkL34YWFZMcjs = require('../chunk-L34YWFZM.cjs');
3
+ var _chunkN5FVU7GRcjs = require('../chunk-N5FVU7GR.cjs');
4
4
 
5
5
  // src/auto-import-components/resolvers/index.ts
6
- _chunkL34YWFZMcjs.init_cjs_shims.call(void 0, );
6
+ _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
7
7
 
8
8
  // src/auto-import-components/resolvers/tdesign.ts
9
- _chunkL34YWFZMcjs.init_cjs_shims.call(void 0, );
9
+ _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
10
10
  var _shared = require('@weapp-core/shared');
11
11
 
12
12
  // src/auto-import-components/resolvers/json/tdesign.json
@@ -129,10 +129,10 @@ var TDesignResolver = (opts) => {
129
129
  };
130
130
 
131
131
  // src/auto-import-components/resolvers/types.ts
132
- _chunkL34YWFZMcjs.init_cjs_shims.call(void 0, );
132
+ _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
133
133
 
134
134
  // src/auto-import-components/resolvers/vant.ts
135
- _chunkL34YWFZMcjs.init_cjs_shims.call(void 0, );
135
+ _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
136
136
 
137
137
 
138
138
  // src/auto-import-components/resolvers/json/vant.json
@@ -243,7 +243,7 @@ var VantResolver = (opts) => {
243
243
  };
244
244
 
245
245
  // src/auto-import-components/resolvers/weui.ts
246
- _chunkL34YWFZMcjs.init_cjs_shims.call(void 0, );
246
+ _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
247
247
 
248
248
 
249
249
  // src/auto-import-components/resolvers/json/weui.json
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "../chunk-KYR4QU4G.mjs";
3
+ } from "../chunk-MDUMD5GP.mjs";
4
4
 
5
5
  // src/auto-import-components/resolvers/index.ts
6
6
  init_esm_shims();
@@ -1,20 +1,20 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkPYBV5NXOcjs = require('./chunk-PYBV5NXO.cjs');
4
- require('./chunk-4DCIL32Z.cjs');
5
- require('./chunk-GUSULIGY.cjs');
3
+ var _chunkQ4SMSDJYcjs = require('./chunk-Q4SMSDJY.cjs');
4
+ require('./chunk-INJNZ3X2.cjs');
5
+ require('./chunk-MTUYQJIF.cjs');
6
6
 
7
7
 
8
- var _chunkL34YWFZMcjs = require('./chunk-L34YWFZM.cjs');
8
+ var _chunkN5FVU7GRcjs = require('./chunk-N5FVU7GR.cjs');
9
9
 
10
10
  // src/auto-routes.ts
11
- _chunkL34YWFZMcjs.init_cjs_shims.call(void 0, );
11
+ _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
12
12
 
13
13
  // src/context/index.ts
14
- _chunkL34YWFZMcjs.init_cjs_shims.call(void 0, );
14
+ _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
15
15
 
16
16
  // src/context/CompilerContext.ts
17
- _chunkL34YWFZMcjs.init_cjs_shims.call(void 0, );
17
+ _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
18
18
 
19
19
  // src/auto-routes.ts
20
20
  function createGetter(resolver) {
@@ -24,7 +24,7 @@ function createGetter(resolver) {
24
24
  get: resolver
25
25
  };
26
26
  }
27
- var ctx = _chunkPYBV5NXOcjs.getCompilerContext.call(void 0, );
27
+ var ctx = _chunkQ4SMSDJYcjs.getCompilerContext.call(void 0, );
28
28
  var service = ctx.autoRoutesService;
29
29
  var routes = {};
30
30
  Object.defineProperties(routes, {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getCompilerContext
3
- } from "./chunk-OUPZ22AZ.mjs";
4
- import "./chunk-B4PYVZ55.mjs";
5
- import "./chunk-MQDPMFK7.mjs";
3
+ } from "./chunk-K5QGB3YX.mjs";
4
+ import "./chunk-46VA2TEF.mjs";
5
+ import "./chunk-IVFT4TLR.mjs";
6
6
  import {
7
7
  init_esm_shims
8
- } from "./chunk-KYR4QU4G.mjs";
8
+ } from "./chunk-MDUMD5GP.mjs";
9
9
 
10
10
  // src/auto-routes.ts
11
11
  init_esm_shims();
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ var _chunkN5FVU7GRcjs = require('./chunk-N5FVU7GR.cjs');
4
+
5
+ // src/types/external.ts
6
+ _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-KYR4QU4G.mjs";
3
+ } from "./chunk-MDUMD5GP.mjs";
4
4
 
5
5
  // src/config.ts
6
6
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-KYR4QU4G.mjs";
3
+ } from "./chunk-MDUMD5GP.mjs";
4
4
 
5
5
  // src/types/external.ts
6
6
  init_esm_shims();
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkL34YWFZMcjs = require('./chunk-L34YWFZM.cjs');
3
+ var _chunkN5FVU7GRcjs = require('./chunk-N5FVU7GR.cjs');
4
4
 
5
5
  // src/config.ts
6
- _chunkL34YWFZMcjs.init_cjs_shims.call(void 0, );
6
+ _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
7
7
  function defineConfig(config) {
8
8
  return config;
9
9
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-KYR4QU4G.mjs";
3
+ } from "./chunk-MDUMD5GP.mjs";
4
4
 
5
5
  // src/json.ts
6
6
  init_esm_shims();
@@ -3,7 +3,7 @@ import {
3
3
  __require,
4
4
  __toESM,
5
5
  init_esm_shims
6
- } from "./chunk-KYR4QU4G.mjs";
6
+ } from "./chunk-MDUMD5GP.mjs";
7
7
 
8
8
  // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/debug.js
9
9
  var require_debug = __commonJS({
@@ -2,10 +2,10 @@ import {
2
2
  getCompilerContext,
3
3
  resetCompilerContext,
4
4
  setActiveCompilerContextKey
5
- } from "./chunk-OUPZ22AZ.mjs";
5
+ } from "./chunk-K5QGB3YX.mjs";
6
6
  import {
7
7
  init_esm_shims
8
- } from "./chunk-KYR4QU4G.mjs";
8
+ } from "./chunk-MDUMD5GP.mjs";
9
9
 
10
10
  // src/createContext.ts
11
11
  init_esm_shims();
@@ -33,11 +33,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
  mod
34
34
  ));
35
35
 
36
- // ../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.3_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_typescript@5.9.3_yaml@2.8.2/node_modules/tsup/assets/esm_shims.js
36
+ // ../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.7_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_typescript@5.9.3_yaml@2.8.2/node_modules/tsup/assets/esm_shims.js
37
37
  import path from "path";
38
38
  import { fileURLToPath } from "url";
39
39
  var init_esm_shims = __esm({
40
- "../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.3_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_typescript@5.9.3_yaml@2.8.2/node_modules/tsup/assets/esm_shims.js"() {
40
+ "../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.7_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_typescript@5.9.3_yaml@2.8.2/node_modules/tsup/assets/esm_shims.js"() {
41
41
  "use strict";
42
42
  }
43
43
  });
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkL34YWFZMcjs = require('./chunk-L34YWFZM.cjs');
3
+ var _chunkN5FVU7GRcjs = require('./chunk-N5FVU7GR.cjs');
4
4
 
5
5
  // src/json.ts
6
- _chunkL34YWFZMcjs.init_cjs_shims.call(void 0, );
6
+ _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
7
7
  var defineAppJson = (config) => {
8
8
  return config;
9
9
  };
@@ -33,10 +33,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
  mod
34
34
  ));
35
35
 
36
- // ../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.3_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_typescript@5.9.3_yaml@2.8.2/node_modules/tsup/assets/cjs_shims.js
36
+ // ../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.7_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_typescript@5.9.3_yaml@2.8.2/node_modules/tsup/assets/cjs_shims.js
37
37
  var getImportMetaUrl, importMetaUrl;
38
38
  var init_cjs_shims = __esm({
39
- "../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.3_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_typescript@5.9.3_yaml@2.8.2/node_modules/tsup/assets/cjs_shims.js"() {
39
+ "../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.7_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_typescript@5.9.3_yaml@2.8.2/node_modules/tsup/assets/cjs_shims.js"() {
40
40
  "use strict";
41
41
  getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.tagName.toUpperCase() === "SCRIPT" ? document.currentScript.src : new URL("main.js", document.baseURI).href;
42
42
  importMetaUrl = exports.importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
@@ -2,20 +2,20 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkPYBV5NXOcjs = require('./chunk-PYBV5NXO.cjs');
5
+ var _chunkQ4SMSDJYcjs = require('./chunk-Q4SMSDJY.cjs');
6
6
 
7
7
 
8
- var _chunkL34YWFZMcjs = require('./chunk-L34YWFZM.cjs');
8
+ var _chunkN5FVU7GRcjs = require('./chunk-N5FVU7GR.cjs');
9
9
 
10
10
  // src/createContext.ts
11
- _chunkL34YWFZMcjs.init_cjs_shims.call(void 0, );
11
+ _chunkN5FVU7GRcjs.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
- _chunkPYBV5NXOcjs.resetCompilerContext.call(void 0, key);
15
+ _chunkQ4SMSDJYcjs.resetCompilerContext.call(void 0, key);
16
16
  }
17
- _chunkPYBV5NXOcjs.setActiveCompilerContextKey.call(void 0, key);
18
- const ctx = _chunkPYBV5NXOcjs.getCompilerContext.call(void 0, key);
17
+ _chunkQ4SMSDJYcjs.setActiveCompilerContextKey.call(void 0, key);
18
+ const ctx = _chunkQ4SMSDJYcjs.getCompilerContext.call(void 0, key);
19
19
  const { configService, scanService, autoRoutesService } = ctx;
20
20
  await configService.load(options);
21
21
  if (autoRoutesService) {