weapp-vite 6.7.5 → 6.7.6
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.mjs +2 -2
- package/dist/{chunk-Z53O6PMZ.mjs → chunk-6AH5XOPG.mjs} +1 -1
- package/dist/{chunk-T6RSV6FP.mjs → chunk-XSPLO6IT.mjs} +1 -1
- package/dist/{chunk-RJ6CSAFO.mjs → chunk-ZHLTHMZA.mjs} +12 -9
- package/dist/cli.mjs +3 -3
- package/dist/{file-VKNW65BI.mjs → file-OMYHHYLC.mjs} +1 -1
- package/dist/{getInstance-XOXPBWVW.mjs → getInstance-W5DSUGSZ.mjs} +2 -2
- package/dist/index.mjs +3 -3
- package/package.json +4 -4
package/dist/auto-routes.mjs
CHANGED
|
@@ -145,7 +145,7 @@ function resolveAutoRoutesMacroImportPath() {
|
|
|
145
145
|
}
|
|
146
146
|
async function resolveAutoRoutesInlineSnapshot() {
|
|
147
147
|
try {
|
|
148
|
-
const { getCompilerContext } = await import("./getInstance-
|
|
148
|
+
const { getCompilerContext } = await import("./getInstance-W5DSUGSZ.mjs");
|
|
149
149
|
const service = getCompilerContext().autoRoutesService;
|
|
150
150
|
await service?.ensureFresh?.();
|
|
151
151
|
const reference = service?.getReference?.();
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
templateExtensions,
|
|
15
15
|
touch,
|
|
16
16
|
vueExtensions
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6AH5XOPG.mjs";
|
|
18
18
|
import {
|
|
19
19
|
applyWeappViteHostMeta
|
|
20
20
|
} from "./chunk-BGBLJUWD.mjs";
|
|
@@ -38488,7 +38488,7 @@ function createScanService(ctx) {
|
|
|
38488
38488
|
vueAppPath = await findVueEntry(appBasename);
|
|
38489
38489
|
}
|
|
38490
38490
|
if (!appConfigFile && vueAppPath) {
|
|
38491
|
-
const { extractConfigFromVue: extractConfigFromVue2 } = await import("./file-
|
|
38491
|
+
const { extractConfigFromVue: extractConfigFromVue2 } = await import("./file-OMYHHYLC.mjs");
|
|
38492
38492
|
configFromVue = await extractConfigFromVue2(vueAppPath);
|
|
38493
38493
|
if (configFromVue) {
|
|
38494
38494
|
appConfigFile = vueAppPath;
|
|
@@ -38560,18 +38560,21 @@ function createScanService(ctx) {
|
|
|
38560
38560
|
...json.subpackages ?? []
|
|
38561
38561
|
];
|
|
38562
38562
|
for (const subPackage of independentSubPackages) {
|
|
38563
|
-
const meta = {
|
|
38564
|
-
subPackage,
|
|
38565
|
-
entries: resolveSubPackageEntries(subPackage)
|
|
38566
|
-
};
|
|
38567
38563
|
const subPackageConfig = configService.weappViteConfig?.subPackages?.[subPackage.root];
|
|
38568
38564
|
const npmSubPackageConfig = configService.weappViteConfig?.npm?.subPackages?.[subPackage.root];
|
|
38569
|
-
|
|
38570
|
-
|
|
38565
|
+
const resolvedSubPackage = {
|
|
38566
|
+
...subPackage,
|
|
38567
|
+
dependencies: npmSubPackageConfig?.dependencies,
|
|
38568
|
+
inlineConfig: subPackageConfig?.inlineConfig
|
|
38569
|
+
};
|
|
38570
|
+
const meta = {
|
|
38571
|
+
subPackage: resolvedSubPackage,
|
|
38572
|
+
entries: resolveSubPackageEntries(resolvedSubPackage)
|
|
38573
|
+
};
|
|
38571
38574
|
meta.autoImportComponents = subPackageConfig?.autoImportComponents;
|
|
38572
38575
|
meta.styleEntries = normalizeSubPackageStyleEntries(
|
|
38573
38576
|
subPackageConfig?.styles,
|
|
38574
|
-
|
|
38577
|
+
resolvedSubPackage,
|
|
38575
38578
|
configService
|
|
38576
38579
|
);
|
|
38577
38580
|
meta.watchSharedStyles = subPackageConfig?.watchSharedStyles ?? true;
|
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCompilerContext
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XSPLO6IT.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_MP_PLATFORM,
|
|
6
6
|
SHARED_CHUNK_VIRTUAL_PREFIX,
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
normalizeMiniPlatform,
|
|
13
13
|
resolveMiniPlatform,
|
|
14
14
|
resolveWeappConfigFile
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZHLTHMZA.mjs";
|
|
16
16
|
import {
|
|
17
17
|
VERSION
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6AH5XOPG.mjs";
|
|
19
19
|
import "./chunk-BGBLJUWD.mjs";
|
|
20
20
|
import {
|
|
21
21
|
resolveWeappMcpConfig,
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
getCompilerContext,
|
|
5
5
|
resetCompilerContext,
|
|
6
6
|
setActiveCompilerContextKey
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-ZHLTHMZA.mjs";
|
|
8
|
+
import "./chunk-6AH5XOPG.mjs";
|
|
9
9
|
import "./chunk-BGBLJUWD.mjs";
|
|
10
10
|
import "./chunk-XIEFUUA5.mjs";
|
|
11
11
|
import "./chunk-QD76G22N.mjs";
|
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./chunk-O2IN5LBB.mjs";
|
|
2
2
|
import {
|
|
3
3
|
createCompilerContext
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-XSPLO6IT.mjs";
|
|
5
|
+
import "./chunk-ZHLTHMZA.mjs";
|
|
6
|
+
import "./chunk-6AH5XOPG.mjs";
|
|
7
7
|
import {
|
|
8
8
|
defineConfig
|
|
9
9
|
} from "./chunk-XQYQD5CM.mjs";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weapp-vite",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "6.7.
|
|
4
|
+
"version": "6.7.6",
|
|
5
5
|
"description": "weapp-vite 一个现代化的小程序打包工具",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -116,13 +116,13 @@
|
|
|
116
116
|
"@weapp-core/schematics": "6.0.2",
|
|
117
117
|
"@weapp-core/shared": "3.0.1",
|
|
118
118
|
"@weapp-vite/mcp": "1.1.0",
|
|
119
|
-
"@weapp-vite/volar": "2.0.
|
|
119
|
+
"@weapp-vite/volar": "2.0.5",
|
|
120
120
|
"@weapp-vite/web": "1.3.1",
|
|
121
121
|
"@wevu/api": "0.2.0",
|
|
122
|
-
"vite-plugin-performance": "2.0.1",
|
|
123
122
|
"rolldown-require": "2.0.6",
|
|
123
|
+
"vite-plugin-performance": "2.0.1",
|
|
124
124
|
"weapp-ide-cli": "5.1.0",
|
|
125
|
-
"wevu": "6.7.
|
|
125
|
+
"wevu": "6.7.6"
|
|
126
126
|
},
|
|
127
127
|
"publishConfig": {
|
|
128
128
|
"access": "public",
|