weapp-vite 5.4.0 → 5.5.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.
- package/dist/auto-routes.cjs +2 -2
- package/dist/auto-routes.mjs +1 -1
- package/dist/{chunk-XEHEGODS.cjs → chunk-5GG5TEGR.cjs} +734 -488
- package/dist/{chunk-LX2OMRQ4.cjs → chunk-OWCDSB6F.cjs} +4 -4
- package/dist/{chunk-KW3QAG67.mjs → chunk-QCLEMTCV.mjs} +1 -1
- package/dist/{chunk-UT7K35VH.mjs → chunk-T4MUKDMP.mjs} +731 -485
- package/dist/cli.cjs +42 -36
- package/dist/cli.mjs +9 -3
- package/dist/{config-DNP6NeTc.d.cts → config-CzCzK7Jh.d.cts} +15 -1
- package/dist/{config-jhY9Idrt.d.ts → config-DepC4j8j.d.ts} +15 -1
- package/dist/config.d.cts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/json.d.cts +1 -1
- package/dist/json.d.ts +1 -1
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +9 -9
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk5GG5TEGRcjs = require('./chunk-5GG5TEGR.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunkOS76JPG2cjs = require('./chunk-OS76JPG2.cjs');
|
|
@@ -12,10 +12,10 @@ _chunkOS76JPG2cjs.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
|
+
_chunk5GG5TEGRcjs.resetCompilerContext.call(void 0, key);
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
const ctx =
|
|
17
|
+
_chunk5GG5TEGRcjs.setActiveCompilerContextKey.call(void 0, key);
|
|
18
|
+
const ctx = _chunk5GG5TEGRcjs.getCompilerContext.call(void 0, key);
|
|
19
19
|
const { configService, scanService, autoRoutesService } = ctx;
|
|
20
20
|
await configService.load(options);
|
|
21
21
|
if (autoRoutesService) {
|