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.
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getCompilerContext
3
- } from "./chunk-RJ6CSAFO.mjs";
4
- import "./chunk-Z53O6PMZ.mjs";
3
+ } from "./chunk-ZHLTHMZA.mjs";
4
+ import "./chunk-6AH5XOPG.mjs";
5
5
  import "./chunk-XQYQD5CM.mjs";
6
6
  import "./chunk-BGBLJUWD.mjs";
7
7
  import "./chunk-KV5GZOAZ.mjs";
@@ -145,7 +145,7 @@ function resolveAutoRoutesMacroImportPath() {
145
145
  }
146
146
  async function resolveAutoRoutesInlineSnapshot() {
147
147
  try {
148
- const { getCompilerContext } = await import("./getInstance-XOXPBWVW.mjs");
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?.();
@@ -2,7 +2,7 @@ import {
2
2
  getCompilerContext,
3
3
  resetCompilerContext,
4
4
  setActiveCompilerContextKey
5
- } from "./chunk-RJ6CSAFO.mjs";
5
+ } from "./chunk-ZHLTHMZA.mjs";
6
6
  import {
7
7
  init_esm_shims
8
8
  } from "./chunk-QD76G22N.mjs";
@@ -14,7 +14,7 @@ import {
14
14
  templateExtensions,
15
15
  touch,
16
16
  vueExtensions
17
- } from "./chunk-Z53O6PMZ.mjs";
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-VKNW65BI.mjs");
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
- meta.subPackage.dependencies = npmSubPackageConfig?.dependencies;
38570
- meta.subPackage.inlineConfig = subPackageConfig?.inlineConfig;
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
- subPackage,
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-T6RSV6FP.mjs";
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-RJ6CSAFO.mjs";
15
+ } from "./chunk-ZHLTHMZA.mjs";
16
16
  import {
17
17
  VERSION
18
- } from "./chunk-Z53O6PMZ.mjs";
18
+ } from "./chunk-6AH5XOPG.mjs";
19
19
  import "./chunk-BGBLJUWD.mjs";
20
20
  import {
21
21
  resolveWeappMcpConfig,
@@ -11,7 +11,7 @@ import {
11
11
  isTemplateRequest,
12
12
  touch,
13
13
  touchSync
14
- } from "./chunk-Z53O6PMZ.mjs";
14
+ } from "./chunk-6AH5XOPG.mjs";
15
15
  import "./chunk-QD76G22N.mjs";
16
16
  export {
17
17
  changeFileExtension,
@@ -4,8 +4,8 @@ import {
4
4
  getCompilerContext,
5
5
  resetCompilerContext,
6
6
  setActiveCompilerContextKey
7
- } from "./chunk-RJ6CSAFO.mjs";
8
- import "./chunk-Z53O6PMZ.mjs";
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-T6RSV6FP.mjs";
5
- import "./chunk-RJ6CSAFO.mjs";
6
- import "./chunk-Z53O6PMZ.mjs";
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.5",
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.4",
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.5"
125
+ "wevu": "6.7.6"
126
126
  },
127
127
  "publishConfig": {
128
128
  "access": "public",