weapp-vite 5.9.0 → 5.9.1

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 _chunkQKFYCWOCcjs = require('../chunk-QKFYCWOC.cjs');
3
+ var _chunk77N2IGMCcjs = require('../chunk-77N2IGMC.cjs');
4
4
 
5
5
  // src/auto-import-components/resolvers/index.ts
6
- _chunkQKFYCWOCcjs.init_cjs_shims.call(void 0, );
6
+ _chunk77N2IGMCcjs.init_cjs_shims.call(void 0, );
7
7
 
8
8
  // src/auto-import-components/resolvers/tdesign.ts
9
- _chunkQKFYCWOCcjs.init_cjs_shims.call(void 0, );
9
+ _chunk77N2IGMCcjs.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
@@ -124,10 +124,10 @@ var TDesignResolver = (opts) => {
124
124
  };
125
125
 
126
126
  // src/auto-import-components/resolvers/types.ts
127
- _chunkQKFYCWOCcjs.init_cjs_shims.call(void 0, );
127
+ _chunk77N2IGMCcjs.init_cjs_shims.call(void 0, );
128
128
 
129
129
  // src/auto-import-components/resolvers/vant.ts
130
- _chunkQKFYCWOCcjs.init_cjs_shims.call(void 0, );
130
+ _chunk77N2IGMCcjs.init_cjs_shims.call(void 0, );
131
131
 
132
132
 
133
133
  // src/auto-import-components/resolvers/json/vant.json
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "../chunk-TZWATIK3.mjs";
3
+ } from "../chunk-YNQOGMVA.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 _chunkCFTSVRD4cjs = require('./chunk-CFTSVRD4.cjs');
4
- require('./chunk-JKNSNXOE.cjs');
5
- require('./chunk-RMHCFT5Q.cjs');
3
+ var _chunkPVJ4XJWXcjs = require('./chunk-PVJ4XJWX.cjs');
4
+ require('./chunk-P7EZJV5N.cjs');
5
+ require('./chunk-2B6AVWBB.cjs');
6
6
 
7
7
 
8
- var _chunkQKFYCWOCcjs = require('./chunk-QKFYCWOC.cjs');
8
+ var _chunk77N2IGMCcjs = require('./chunk-77N2IGMC.cjs');
9
9
 
10
10
  // src/auto-routes.ts
11
- _chunkQKFYCWOCcjs.init_cjs_shims.call(void 0, );
11
+ _chunk77N2IGMCcjs.init_cjs_shims.call(void 0, );
12
12
 
13
13
  // src/context/index.ts
14
- _chunkQKFYCWOCcjs.init_cjs_shims.call(void 0, );
14
+ _chunk77N2IGMCcjs.init_cjs_shims.call(void 0, );
15
15
 
16
16
  // src/context/CompilerContext.ts
17
- _chunkQKFYCWOCcjs.init_cjs_shims.call(void 0, );
17
+ _chunk77N2IGMCcjs.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 = _chunkCFTSVRD4cjs.getCompilerContext.call(void 0, );
27
+ var ctx = _chunkPVJ4XJWXcjs.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-JCCRRTKA.mjs";
4
- import "./chunk-RJVVY5EI.mjs";
5
- import "./chunk-SSYIWHY2.mjs";
3
+ } from "./chunk-R4SL5LL2.mjs";
4
+ import "./chunk-KODYLWCP.mjs";
5
+ import "./chunk-U52F47CT.mjs";
6
6
  import {
7
7
  init_esm_shims
8
- } from "./chunk-TZWATIK3.mjs";
8
+ } from "./chunk-YNQOGMVA.mjs";
9
9
 
10
10
  // src/auto-routes.ts
11
11
  init_esm_shims();
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkQKFYCWOCcjs = require('./chunk-QKFYCWOC.cjs');
3
+ var _chunk77N2IGMCcjs = require('./chunk-77N2IGMC.cjs');
4
4
 
5
5
  // src/json.ts
6
- _chunkQKFYCWOCcjs.init_cjs_shims.call(void 0, );
6
+ _chunk77N2IGMCcjs.init_cjs_shims.call(void 0, );
7
7
  var defineAppJson = (config) => {
8
8
  return config;
9
9
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-TZWATIK3.mjs";
3
+ } from "./chunk-YNQOGMVA.mjs";
4
4
 
5
5
  // src/types/external.ts
6
6
  init_esm_shims();
@@ -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.0_@swc+core@1.15.0_jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js
36
+ // ../../node_modules/.pnpm/tsup@8.5.0_@swc+core@1.15.1_jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@5.9.3_yaml@2.8.1/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.0_@swc+core@1.15.0_jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js"() {
39
+ "../../node_modules/.pnpm/tsup@8.5.0_@swc+core@1.15.1_jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@5.9.3_yaml@2.8.1/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.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 _chunkCFTSVRD4cjs = require('./chunk-CFTSVRD4.cjs');
5
+ var _chunkPVJ4XJWXcjs = require('./chunk-PVJ4XJWX.cjs');
6
6
 
7
7
 
8
- var _chunkQKFYCWOCcjs = require('./chunk-QKFYCWOC.cjs');
8
+ var _chunk77N2IGMCcjs = require('./chunk-77N2IGMC.cjs');
9
9
 
10
10
  // src/createContext.ts
11
- _chunkQKFYCWOCcjs.init_cjs_shims.call(void 0, );
11
+ _chunk77N2IGMCcjs.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
- _chunkCFTSVRD4cjs.resetCompilerContext.call(void 0, key);
15
+ _chunkPVJ4XJWXcjs.resetCompilerContext.call(void 0, key);
16
16
  }
17
- _chunkCFTSVRD4cjs.setActiveCompilerContextKey.call(void 0, key);
18
- const ctx = _chunkCFTSVRD4cjs.getCompilerContext.call(void 0, key);
17
+ _chunkPVJ4XJWXcjs.setActiveCompilerContextKey.call(void 0, key);
18
+ const ctx = _chunkPVJ4XJWXcjs.getCompilerContext.call(void 0, key);
19
19
  const { configService, scanService, autoRoutesService } = ctx;
20
20
  await configService.load(options);
21
21
  if (autoRoutesService) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-TZWATIK3.mjs";
3
+ } from "./chunk-YNQOGMVA.mjs";
4
4
 
5
5
  // src/config.ts
6
6
  init_esm_shims();
@@ -2,10 +2,10 @@ import {
2
2
  getCompilerContext,
3
3
  resetCompilerContext,
4
4
  setActiveCompilerContextKey
5
- } from "./chunk-JCCRRTKA.mjs";
5
+ } from "./chunk-R4SL5LL2.mjs";
6
6
  import {
7
7
  init_esm_shims
8
- } from "./chunk-TZWATIK3.mjs";
8
+ } from "./chunk-YNQOGMVA.mjs";
9
9
 
10
10
  // src/createContext.ts
11
11
  init_esm_shims();
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ var _chunk77N2IGMCcjs = require('./chunk-77N2IGMC.cjs');
4
+
5
+ // src/types/external.ts
6
+ _chunk77N2IGMCcjs.init_cjs_shims.call(void 0, );
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkQKFYCWOCcjs = require('./chunk-QKFYCWOC.cjs');
3
+ var _chunk77N2IGMCcjs = require('./chunk-77N2IGMC.cjs');
4
4
 
5
5
  // src/config.ts
6
- _chunkQKFYCWOCcjs.init_cjs_shims.call(void 0, );
6
+ _chunk77N2IGMCcjs.init_cjs_shims.call(void 0, );
7
7
  function defineConfig(config) {
8
8
  return config;
9
9
  }