weapp-vite 5.11.1 → 5.11.3
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/dist/auto-import-components/resolvers.cjs +6 -6
- package/dist/auto-import-components/resolvers.mjs +1 -1
- package/dist/auto-routes.cjs +8 -8
- package/dist/auto-routes.mjs +4 -4
- package/dist/{chunk-4DCIL32Z.cjs → chunk-DJQDNKZV.cjs} +2 -2
- package/dist/chunk-FKD2WGWW.cjs +6 -0
- package/dist/{chunk-KYR4QU4G.mjs → chunk-FRDBMQFQ.mjs} +2 -2
- package/dist/{chunk-53HNLH2N.cjs → chunk-HJIQ5LPK.cjs} +6 -6
- package/dist/{chunk-MQDPMFK7.mjs → chunk-HXREOGBF.mjs} +1 -1
- package/dist/{chunk-2G3CI4U3.mjs → chunk-I2SATVTN.mjs} +2 -2
- package/dist/{chunk-OUPZ22AZ.mjs → chunk-LPIU437C.mjs} +1 -1
- package/dist/{chunk-PYBV5NXO.cjs → chunk-OHNCYFYF.cjs} +189 -189
- package/dist/{chunk-B4PYVZ55.mjs → chunk-PEV37KCS.mjs} +1 -1
- package/dist/{chunk-L34YWFZM.cjs → chunk-Q4XJZVQL.cjs} +2 -2
- package/dist/{chunk-GUSULIGY.cjs → chunk-SDBHHXQJ.cjs} +2 -2
- package/dist/{chunk-OT4RNAKX.mjs → chunk-TYFSFH5L.mjs} +1 -1
- package/dist/cli.cjs +77 -77
- package/dist/cli.mjs +3 -3
- package/dist/config.cjs +4 -4
- package/dist/config.mjs +3 -3
- package/dist/index.cjs +8 -8
- package/dist/index.mjs +6 -6
- package/dist/json.cjs +3 -3
- package/dist/json.mjs +2 -2
- package/dist/types.cjs +9 -9
- package/dist/types.mjs +2 -2
- package/dist/volar.cjs +2 -2
- package/dist/volar.mjs +1 -1
- package/modules/analyze-dashboard/assets/index.css +1 -1
- package/package.json +12 -12
- package/dist/chunk-IU53YO5Y.cjs +0 -6
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkQ4XJZVQLcjs = require('../chunk-Q4XJZVQL.cjs');
|
|
4
4
|
|
|
5
5
|
// src/auto-import-components/resolvers/index.ts
|
|
6
|
-
|
|
6
|
+
_chunkQ4XJZVQLcjs.init_cjs_shims.call(void 0, );
|
|
7
7
|
|
|
8
8
|
// src/auto-import-components/resolvers/tdesign.ts
|
|
9
|
-
|
|
9
|
+
_chunkQ4XJZVQLcjs.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
|
-
|
|
132
|
+
_chunkQ4XJZVQLcjs.init_cjs_shims.call(void 0, );
|
|
133
133
|
|
|
134
134
|
// src/auto-import-components/resolvers/vant.ts
|
|
135
|
-
|
|
135
|
+
_chunkQ4XJZVQLcjs.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
|
-
|
|
246
|
+
_chunkQ4XJZVQLcjs.init_cjs_shims.call(void 0, );
|
|
247
247
|
|
|
248
248
|
|
|
249
249
|
// src/auto-import-components/resolvers/json/weui.json
|
package/dist/auto-routes.cjs
CHANGED
|
@@ -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
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var _chunkOHNCYFYFcjs = require('./chunk-OHNCYFYF.cjs');
|
|
4
|
+
require('./chunk-DJQDNKZV.cjs');
|
|
5
|
+
require('./chunk-SDBHHXQJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkQ4XJZVQLcjs = require('./chunk-Q4XJZVQL.cjs');
|
|
9
9
|
|
|
10
10
|
// src/auto-routes.ts
|
|
11
|
-
|
|
11
|
+
_chunkQ4XJZVQLcjs.init_cjs_shims.call(void 0, );
|
|
12
12
|
|
|
13
13
|
// src/context/index.ts
|
|
14
|
-
|
|
14
|
+
_chunkQ4XJZVQLcjs.init_cjs_shims.call(void 0, );
|
|
15
15
|
|
|
16
16
|
// src/context/CompilerContext.ts
|
|
17
|
-
|
|
17
|
+
_chunkQ4XJZVQLcjs.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 =
|
|
27
|
+
var ctx = _chunkOHNCYFYFcjs.getCompilerContext.call(void 0, );
|
|
28
28
|
var service = ctx.autoRoutesService;
|
|
29
29
|
var routes = {};
|
|
30
30
|
Object.defineProperties(routes, {
|
package/dist/auto-routes.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getCompilerContext
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-LPIU437C.mjs";
|
|
4
|
+
import "./chunk-PEV37KCS.mjs";
|
|
5
|
+
import "./chunk-HXREOGBF.mjs";
|
|
6
6
|
import {
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FRDBMQFQ.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
|
|
3
|
+
var _chunkQ4XJZVQLcjs = require('./chunk-Q4XJZVQL.cjs');
|
|
4
4
|
|
|
5
5
|
// src/config.ts
|
|
6
|
-
|
|
6
|
+
_chunkQ4XJZVQLcjs.init_cjs_shims.call(void 0, );
|
|
7
7
|
function defineConfig(config) {
|
|
8
8
|
return config;
|
|
9
9
|
}
|
|
@@ -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.
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.4_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.
|
|
40
|
+
"../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.4_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
|
});
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkOHNCYFYFcjs = require('./chunk-OHNCYFYF.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkQ4XJZVQLcjs = require('./chunk-Q4XJZVQL.cjs');
|
|
9
9
|
|
|
10
10
|
// src/createContext.ts
|
|
11
|
-
|
|
11
|
+
_chunkQ4XJZVQLcjs.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
|
-
|
|
15
|
+
_chunkOHNCYFYFcjs.resetCompilerContext.call(void 0, key);
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
const ctx =
|
|
17
|
+
_chunkOHNCYFYFcjs.setActiveCompilerContextKey.call(void 0, key);
|
|
18
|
+
const ctx = _chunkOHNCYFYFcjs.getCompilerContext.call(void 0, key);
|
|
19
19
|
const { configService, scanService, autoRoutesService } = ctx;
|
|
20
20
|
await configService.load(options);
|
|
21
21
|
if (autoRoutesService) {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getCompilerContext,
|
|
3
3
|
resetCompilerContext,
|
|
4
4
|
setActiveCompilerContextKey
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LPIU437C.mjs";
|
|
6
6
|
import {
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FRDBMQFQ.mjs";
|
|
9
9
|
|
|
10
10
|
// src/createContext.ts
|
|
11
11
|
init_esm_shims();
|