weapp-vite 6.16.14 → 6.16.16

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,4 +1,4 @@
1
- import { g as getRouteRuntimeGlobalKeys, i as getCompilerContext } from "./createContext-CzGWJpCw.mjs";
1
+ import { g as getRouteRuntimeGlobalKeys, i as getCompilerContext } from "./createContext-D7bNXjAv.mjs";
2
2
  //#region src/auto-routes.ts
3
3
  const ROUTE_RUNTIME_OVERRIDE_KEY = Symbol.for("weapp-vite.route-runtime");
4
4
  function createGetter(resolver) {
package/dist/cli.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { C as getDefaultIdeProjectRoot, S as createCjsConfigLoadError, T as isPathInside, _ as resolveWeappConfigFile, b as loadViteConfigFile, f as resolveWeappViteTarget, h as resolveHmrProfileJsonPath, m as SHARED_CHUNK_VIRTUAL_PREFIX, n as syncProjectSupportFiles, p as createSharedBuildConfig, r as syncManagedTsconfigBootstrapFiles, s as formatBytes, t as createCompilerContext, v as checkRuntime, w as shouldPassPlatformArgToIdeOpen, x as parseCommentJson, y as getProjectConfigFileName } from "./createContext-CzGWJpCw.mjs";
1
+ import { C as getDefaultIdeProjectRoot, S as createCjsConfigLoadError, T as isPathInside, _ as resolveWeappConfigFile, b as loadViteConfigFile, f as resolveWeappViteTarget, h as resolveHmrProfileJsonPath, m as SHARED_CHUNK_VIRTUAL_PREFIX, n as syncProjectSupportFiles, p as createSharedBuildConfig, r as syncManagedTsconfigBootstrapFiles, s as formatBytes, t as createCompilerContext, v as checkRuntime, w as shouldPassPlatformArgToIdeOpen, x as parseCommentJson, y as getProjectConfigFileName } from "./createContext-D7bNXjAv.mjs";
2
2
  import { r as logger_default, t as colors } from "./logger-CgxdNjvb.mjs";
3
- import { h as VERSION } from "./file-HUd9lLNU.mjs";
3
+ import { h as VERSION } from "./file-8E6neBUV.mjs";
4
4
  import { o as resolveWeappMcpConfig, s as startWeappViteMcpServer } from "./mcp-DV3K2AVD.mjs";
5
5
  import { createRequire } from "node:module";
6
6
  import path, { posix } from "pathe";
@@ -3704,7 +3704,7 @@ function resolveRunnableHotkeyDefinition(input) {
3704
3704
  }
3705
3705
  //#endregion
3706
3706
  //#region package.json
3707
- var version = "6.16.14";
3707
+ var version = "6.16.16";
3708
3708
  //#endregion
3709
3709
  //#region src/cli/devHotkeys/format.ts
3710
3710
  const FULLWIDTH_ASCII_START = 65281;
@@ -556,6 +556,7 @@ interface WeappWorkerConfig {
556
556
  interface WeappVueTemplateConfig {
557
557
  removeComments?: boolean;
558
558
  simplifyWhitespace?: boolean;
559
+ formatWxml?: boolean | 'auto';
559
560
  htmlTagToWxml?: boolean | Record<string, string>;
560
561
  htmlTagToWxmlTagClass?: boolean;
561
562
  scopedSlotsCompiler?: 'auto' | 'augmented' | 'off';
package/dist/config.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { Bn as createWeappViteHostMeta, Hn as resolveWeappViteHostMeta, Ln as WEAPP_VITE_HOST_NAME, Rn as WeappViteHostMeta, Vn as isWeappViteHost, _ as definePageJson, a as UserConfigFnNoEnvPlain, at as WeappViteConfig, c as UserConfigFnPromise, d as Component, f as Page, g as defineComponentJson, h as defineAppJson, i as UserConfigFnNoEnv, l as defineConfig, m as Theme, n as UserConfigExport, o as UserConfigFnObject, p as Sitemap, qn as WeappViteRuntime, r as UserConfigFn, s as UserConfigFnObjectPlain, t as UserConfig, u as App, v as defineSitemapJson, y as defineThemeJson, zn as applyWeappViteHostMeta } from "./config-CIXBpBjh.mjs";
2
- export { App, Component, Page, Sitemap, Theme, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnNoEnv, UserConfigFnNoEnvPlain, UserConfigFnObject, UserConfigFnObjectPlain, UserConfigFnPromise, WEAPP_VITE_HOST_NAME, WeappViteConfig, WeappViteHostMeta, WeappViteRuntime, applyWeappViteHostMeta, createWeappViteHostMeta, defineAppJson, defineComponentJson, defineConfig, definePageJson, defineSitemapJson, defineThemeJson, isWeappViteHost, resolveWeappViteHostMeta };
1
+ import { Bn as createWeappViteHostMeta, Hn as resolveWeappViteHostMeta, Ln as WEAPP_VITE_HOST_NAME, Rn as WeappViteHostMeta, Vn as isWeappViteHost, _ as definePageJson, a as UserConfigFnNoEnvPlain, at as WeappViteConfig, c as UserConfigFnPromise, d as Component, f as Page, g as defineComponentJson, h as defineAppJson, i as UserConfigFnNoEnv, l as defineConfig, m as Theme, n as UserConfigExport, o as UserConfigFnObject, p as Sitemap, qn as WeappViteRuntime, r as UserConfigFn, s as UserConfigFnObjectPlain, t as UserConfig, u as App, v as defineSitemapJson, y as defineThemeJson, zn as applyWeappViteHostMeta } from "./config-CY6lHET0.mjs";
2
+ export { type App, type Component, type Page, type Sitemap, type Theme, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnNoEnv, UserConfigFnNoEnvPlain, UserConfigFnObject, UserConfigFnObjectPlain, UserConfigFnPromise, WEAPP_VITE_HOST_NAME, type WeappViteConfig, WeappViteHostMeta, type WeappViteRuntime, applyWeappViteHostMeta, createWeappViteHostMeta, defineAppJson, defineComponentJson, defineConfig, definePageJson, defineSitemapJson, defineThemeJson, isWeappViteHost, resolveWeappViteHostMeta };
@@ -1,6 +1,6 @@
1
1
  import { n as applyWeappViteHostMeta } from "./pluginHost-BEnGeaSo.mjs";
2
2
  import { n as configureLogger, r as logger_default } from "./logger-CgxdNjvb.mjs";
3
- import { _ as jsExtensions, a as findJsonEntry, b as vueExtensions, c as isJsOrTs, d as touch, g as configExtensions, i as findJsEntry, l as isTemplate, n as changeFileExtension, o as findTemplateEntry, p as inlineAutoRoutesImports, r as findCssEntry, s as findVueEntry, t as extractConfigFromVue, v as supportedCssLangs, y as templateExtensions } from "./file-HUd9lLNU.mjs";
3
+ import { _ as jsExtensions, a as findJsonEntry, b as vueExtensions, c as isJsOrTs, d as touch, g as configExtensions, i as findJsEntry, l as isTemplate, n as changeFileExtension, o as findTemplateEntry, p as inlineAutoRoutesImports, r as findCssEntry, s as findVueEntry, t as extractConfigFromVue, v as supportedCssLangs, y as templateExtensions } from "./file-8E6neBUV.mjs";
4
4
  import { createRequire, isBuiltin } from "node:module";
5
5
  import path, { posix } from "pathe";
6
6
  import path$1, { normalize, relative, win32 } from "node:path";
@@ -9787,7 +9787,7 @@ function createAdvancedChunkNameResolver(options) {
9787
9787
  const REG_NODE_MODULES_DIR = /[\\/]node_modules[\\/]/gi;
9788
9788
  const REG_COMMONJS_HELPERS = /commonjsHelpers\.js$/;
9789
9789
  const REG_REQUEST_GLOBAL_RUNTIME_VENDOR_ID = /(?:^|[/\\])(?:@wevu[/\\]web-apis|web-apis[/\\]dist[/\\]index\.(?:m?js|cjs)|weapp-vite[/\\](?:dist[/\\]web-apis\.mjs|src[/\\](?:webApis\.ts|runtime[/\\]webApis[/\\]index\.ts)))(?:$|[?#])/;
9790
- const REG_HASHED_DIST_CHUNK_ID = /(?:^|[/\\])dist[/\\]([^/\\]+)-(\w{6,})\.(?:m?js|cjs)(?:$|[?#])/;
9790
+ const REG_HASHED_DIST_CHUNK_ID = /(?:^|[/\\])dist[/\\]([^/\\-]+)-([\w-]{6,})\.(?:m?js|cjs)(?:$|[?#])/;
9791
9791
  const STABLE_HASHED_DIST_CHUNK_PRIORITY = ["src"];
9792
9792
  function resolveSharedPathRoot(configService, sharedPathRoot) {
9793
9793
  const absoluteSrcRoot = configService.absoluteSrcRoot;
@@ -9900,6 +9900,7 @@ function isRequestGlobalsRuntimeModuleId(id) {
9900
9900
  function resolveStableHashedDistChunkFileName(chunk) {
9901
9901
  const candidateIds = [chunk.facadeModuleId, ...chunk.moduleIds ?? []].filter((id) => typeof id === "string");
9902
9902
  const matchedChunks = [];
9903
+ let facadeMatchedChunk;
9903
9904
  for (const id of candidateIds) {
9904
9905
  const cleanedAbsoluteId = normalizeSharedPathCandidate(id);
9905
9906
  if (!path.isAbsolute(cleanedAbsoluteId)) continue;
@@ -9910,11 +9911,14 @@ function resolveStableHashedDistChunkFileName(chunk) {
9910
9911
  if (!baseName || !packageToken) continue;
9911
9912
  REG_REQUEST_GLOBAL_RUNTIME_VENDOR_ID.lastIndex = 0;
9912
9913
  if (REG_REQUEST_GLOBAL_RUNTIME_VENDOR_ID.test(cleanedAbsoluteId) || packageToken.endsWith("web-apis")) return `weapp-vendors/request-globals-${packageToken}-${baseName}.js`;
9913
- matchedChunks.push({
9914
+ const matchedChunk = {
9914
9915
  baseName,
9915
9916
  fileName: `weapp-vendors/${packageToken}-${baseName}.js`
9916
- });
9917
+ };
9918
+ matchedChunks.push(matchedChunk);
9919
+ if (id === chunk.facadeModuleId) facadeMatchedChunk = matchedChunk;
9917
9920
  }
9921
+ if (facadeMatchedChunk) return facadeMatchedChunk.fileName;
9918
9922
  for (const priorityBaseName of STABLE_HASHED_DIST_CHUNK_PRIORITY) {
9919
9923
  const matched = matchedChunks.find((chunk) => chunk.baseName === priorityBaseName);
9920
9924
  if (matched) return matched.fileName;
@@ -10408,6 +10412,29 @@ function watchWorkers(configService, watcherService, workersDir) {
10408
10412
  function shouldHandleSnapshotSidecarFile(filePath) {
10409
10413
  return isSidecarFile(filePath);
10410
10414
  }
10415
+ function createSnapshotSidecarWatchPatterns(root) {
10416
+ return [
10417
+ ...configSuffixes$1.map((suffix) => path.join(root, `**/*${suffix}`)),
10418
+ ...Array.from(watchedCssExts).map((ext) => path.join(root, `**/*${ext}`)),
10419
+ ...Array.from(watchedTemplateExts).map((ext) => path.join(root, `**/*${ext}`)),
10420
+ ...Array.from(watchedScriptModuleExts).map((ext) => path.join(root, `**/*${ext}`))
10421
+ ];
10422
+ }
10423
+ function createSnapshotSidecarIgnoredMatcher(ctx) {
10424
+ const configService = ctx.configService;
10425
+ if (!configService) return;
10426
+ const ignoredRoots = /* @__PURE__ */ new Set();
10427
+ const watchRoot = normalizeFsResolvedId(configService.absoluteSrcRoot);
10428
+ for (const dirName of defaultIgnoredDirNames) ignoredRoots.add(normalizeFsResolvedId(path.join(configService.absoluteSrcRoot, dirName)));
10429
+ ignoredRoots.add(normalizeFsResolvedId(configService.outDir));
10430
+ if (configService.mpDistRoot) ignoredRoots.add(normalizeFsResolvedId(path.resolve(configService.cwd, configService.mpDistRoot)));
10431
+ return (candidate) => {
10432
+ const normalized = normalizeFsResolvedId(candidate);
10433
+ if (normalized === watchRoot) return false;
10434
+ for (const ignored of ignoredRoots) if (normalized === ignored || normalized.startsWith(`${ignored}/`)) return true;
10435
+ return false;
10436
+ };
10437
+ }
10411
10438
  function createBuildService(ctx) {
10412
10439
  let lastHmrSlowTipProfileCount = 0;
10413
10440
  function createHmrProfileJsonSample(totalMs) {
@@ -10779,9 +10806,10 @@ function createBuildService(ctx) {
10779
10806
  await promise;
10780
10807
  const watcherRoot = target === "plugin" ? configService.absolutePluginRoot ?? configService.absoluteSrcRoot : "/";
10781
10808
  if (target === "app" && !watcherService.sidecarWatcherMap.has(snapshotWatcherRoot)) {
10782
- const snapshotWatcher = chokidar.watch(configService.absoluteSrcRoot, createSidecarWatchOptions(configService, {
10809
+ const snapshotWatcher = chokidar.watch(createSnapshotSidecarWatchPatterns(configService.absoluteSrcRoot), createSidecarWatchOptions(configService, {
10783
10810
  persistent: true,
10784
- ignoreInitial: true
10811
+ ignoreInitial: true,
10812
+ ignored: createSnapshotSidecarIgnoredMatcher(ctx)
10785
10813
  }));
10786
10814
  snapshotWatcher.on("all", (event, id) => {
10787
10815
  if (!id) return;
@@ -13587,9 +13615,11 @@ function createAutoImportPlugin(state) {
13587
13615
  if (!getAutoImportCandidateKind(absolutePath)) return;
13588
13616
  if (change.event === "delete") {
13589
13617
  autoImportService.removePotentialComponent(absolutePath);
13618
+ await refreshAutoImportImporters(ctx, absolutePath);
13590
13619
  return;
13591
13620
  }
13592
13621
  await autoImportService.registerPotentialComponent(absolutePath);
13622
+ await refreshAutoImportImporters(ctx, absolutePath);
13593
13623
  }
13594
13624
  };
13595
13625
  }
@@ -15770,10 +15800,11 @@ function resolvePendingEntryIds(options) {
15770
15800
  const shouldExpandLayoutSharedChunks = pendingReasonSummary.includes("layout-propagation") || pendingReasonSummary.includes("layout-fallback-full");
15771
15801
  if (shouldExpandLayoutSharedChunks) for (const chunkId of options.sharedChunkImporters.keys()) relatedChunkIds.add(chunkId);
15772
15802
  for (const entryId of options.dirtyEntrySet) {
15773
- if (options.dirtyEntryReasons.get(entryId) !== "dependency") continue;
15803
+ const dirtyReason = options.dirtyEntryReasons.get(entryId);
15804
+ if (dirtyReason !== "dependency" && dirtyReason !== "direct" && dirtyReason !== "metadata") continue;
15774
15805
  const chunkIds = options.sharedChunksByEntry.get(entryId);
15775
15806
  if (!chunkIds?.size) continue;
15776
- for (const chunkId of chunkIds) relatedChunkIds.add(chunkId);
15807
+ for (const chunkId of chunkIds) if (dirtyReason === "dependency" || !options.sourceSharedChunks?.has(chunkId)) relatedChunkIds.add(chunkId);
15777
15808
  }
15778
15809
  if (!relatedChunkIds.size) return {
15779
15810
  pending,
@@ -15788,17 +15819,27 @@ function resolvePendingEntryIds(options) {
15788
15819
  if (importers.size <= 1 && !shouldExpandLayoutSharedChunks) continue;
15789
15820
  let hasDependencyDrivenImporter = false;
15790
15821
  let hasDirectDirtyImporter = false;
15822
+ let hasMetadataDirtyImporter = false;
15791
15823
  for (const importer of importers) {
15792
15824
  if (options.dirtyEntrySet.has(importer) && options.dirtyEntryReasons.get(importer) === "dependency") {
15793
15825
  hasDependencyDrivenImporter = true;
15794
15826
  continue;
15795
15827
  }
15796
- if (options.dirtyEntrySet.has(importer) && options.dirtyEntryReasons.get(importer) === "direct") hasDirectDirtyImporter = true;
15797
- }
15798
- if (!hasDependencyDrivenImporter && !hasDirectDirtyImporter && !shouldExpandLayoutSharedChunks) continue;
15799
- if (shouldExpandLayoutSharedChunks && !hasDependencyDrivenImporter && !hasDirectDirtyImporter) expansionMode = expansionMode && expansionMode !== "dependency" ? "mixed" : "dependency";
15800
- else if (hasDependencyDrivenImporter && hasDirectDirtyImporter) expansionMode = "mixed";
15828
+ if (options.dirtyEntrySet.has(importer) && options.dirtyEntryReasons.get(importer) === "direct") {
15829
+ hasDirectDirtyImporter = true;
15830
+ continue;
15831
+ }
15832
+ if (options.dirtyEntrySet.has(importer) && options.dirtyEntryReasons.get(importer) === "metadata") hasMetadataDirtyImporter = true;
15833
+ }
15834
+ if (!hasDependencyDrivenImporter && !hasDirectDirtyImporter && !hasMetadataDirtyImporter && !shouldExpandLayoutSharedChunks) continue;
15835
+ if (shouldExpandLayoutSharedChunks && !hasDependencyDrivenImporter && !hasDirectDirtyImporter && !hasMetadataDirtyImporter) expansionMode = expansionMode && expansionMode !== "dependency" ? "mixed" : "dependency";
15836
+ else if ([
15837
+ hasDependencyDrivenImporter,
15838
+ hasDirectDirtyImporter,
15839
+ hasMetadataDirtyImporter
15840
+ ].filter(Boolean).length > 1) expansionMode = "mixed";
15801
15841
  else if (hasDirectDirtyImporter) expansionMode = expansionMode && expansionMode !== "direct" ? "mixed" : "direct";
15842
+ else if (hasMetadataDirtyImporter) expansionMode = expansionMode && expansionMode !== "metadata" ? "mixed" : "metadata";
15802
15843
  else expansionMode = expansionMode && expansionMode !== "dependency" ? "mixed" : "dependency";
15803
15844
  for (const importer of importers) {
15804
15845
  if (!pending.has(importer)) expandedImporters.add(importer);
@@ -18669,10 +18710,11 @@ function invalidateSharedStyleCache() {
18669
18710
  const importProtocols = /^(?:https?:|data:|blob:|\/)/i;
18670
18711
  const cssImportRE = /@(?:import|wv-keep-import)\s+(?:url\()?['"]?([^'")\s]+)['"]?\)?/gi;
18671
18712
  function ensureCssGraph(ctx) {
18672
- return ctx.runtimeState.css;
18713
+ return ctx.runtimeState?.css;
18673
18714
  }
18674
18715
  function cleanupImporterGraph(ctx, importer) {
18675
18716
  const graph = ensureCssGraph(ctx);
18717
+ if (!graph) return;
18676
18718
  const normalizedImporter = normalizePath$1(importer);
18677
18719
  const existingDeps = graph.importerToDependencies.get(normalizedImporter);
18678
18720
  if (!existingDeps) return;
@@ -18686,6 +18728,7 @@ function cleanupImporterGraph(ctx, importer) {
18686
18728
  }
18687
18729
  function registerCssImports(ctx, importer, dependencies) {
18688
18730
  const graph = ensureCssGraph(ctx);
18731
+ if (!graph) return;
18689
18732
  const normalizedImporter = normalizePath$1(importer);
18690
18733
  const normalizedDeps = /* @__PURE__ */ new Set();
18691
18734
  for (const dependency of dependencies) {
@@ -18710,6 +18753,40 @@ function registerCssImports(ctx, importer, dependencies) {
18710
18753
  importers.add(normalizedImporter);
18711
18754
  }
18712
18755
  }
18756
+ function addResolvedCssSpecifier(ctx, dependencies, importer, rawSpecifier) {
18757
+ if (!rawSpecifier) return;
18758
+ if (importProtocols.test(rawSpecifier)) {
18759
+ if (rawSpecifier.startsWith("/")) {
18760
+ const absolute = path.resolve(ctx.configService.absoluteSrcRoot, rawSpecifier.slice(1));
18761
+ dependencies.add(absolute);
18762
+ const ext = path.extname(absolute);
18763
+ if (ext) dependencies.add(absolute.slice(0, -ext.length));
18764
+ }
18765
+ return;
18766
+ }
18767
+ let specifier = rawSpecifier;
18768
+ if (specifier.startsWith("@/")) specifier = path.join(ctx.configService.absoluteSrcRoot, specifier.slice(2));
18769
+ else if (specifier === "@") specifier = ctx.configService.absoluteSrcRoot;
18770
+ if (specifier.startsWith("~")) specifier = specifier.slice(1);
18771
+ const cleaned = specifier.replace(/[?#].*$/, "");
18772
+ const resolved = path.resolve(path.dirname(importer), cleaned);
18773
+ dependencies.add(resolved);
18774
+ const ext = path.extname(resolved);
18775
+ if (!ext) dependencies.add(resolved);
18776
+ else dependencies.add(resolved.slice(0, -ext.length));
18777
+ }
18778
+ function collectCssDependenciesFromContent(ctx, importer, cssContent) {
18779
+ cssImportRE.lastIndex = 0;
18780
+ const dependencies = /* @__PURE__ */ new Set();
18781
+ while (true) {
18782
+ const match = cssImportRE.exec(cssContent);
18783
+ if (!match) break;
18784
+ const rawSpecifier = match[1]?.trim();
18785
+ if (!rawSpecifier) continue;
18786
+ addResolvedCssSpecifier(ctx, dependencies, importer, rawSpecifier);
18787
+ }
18788
+ return dependencies;
18789
+ }
18713
18790
  async function extractCssImportDependencies(ctx, importer) {
18714
18791
  try {
18715
18792
  if (!(await fs$1.promises.stat(importer)).isFile()) {
@@ -18727,38 +18804,19 @@ async function extractCssImportDependencies(ctx, importer) {
18727
18804
  cleanupImporterGraph(ctx, importer);
18728
18805
  return;
18729
18806
  }
18730
- cssImportRE.lastIndex = 0;
18807
+ registerCssImports(ctx, importer, collectCssDependenciesFromContent(ctx, importer, cssContent));
18808
+ }
18809
+ function syncVueSfcStyleDependencies(ctx, filename, styleBlocks) {
18731
18810
  const dependencies = /* @__PURE__ */ new Set();
18732
- const dir = path.dirname(importer);
18733
- while (true) {
18734
- const match = cssImportRE.exec(cssContent);
18735
- if (!match) break;
18736
- const rawSpecifier = match[1]?.trim();
18737
- if (!rawSpecifier) continue;
18738
- if (importProtocols.test(rawSpecifier)) {
18739
- if (rawSpecifier.startsWith("/")) {
18740
- const absolute = path.resolve(ctx.configService.absoluteSrcRoot, rawSpecifier.slice(1));
18741
- dependencies.add(absolute);
18742
- const ext = path.extname(absolute);
18743
- if (ext) dependencies.add(absolute.slice(0, -ext.length));
18744
- }
18745
- continue;
18746
- }
18747
- let specifier = rawSpecifier;
18748
- if (specifier.startsWith("@/")) specifier = path.join(ctx.configService.absoluteSrcRoot, specifier.slice(2));
18749
- else if (specifier === "@") specifier = ctx.configService.absoluteSrcRoot;
18750
- if (specifier.startsWith("~")) specifier = specifier.slice(1);
18751
- const cleaned = specifier.replace(/[?#].*$/, "");
18752
- const resolved = path.resolve(dir, cleaned);
18753
- dependencies.add(resolved);
18754
- const ext = path.extname(resolved);
18755
- if (!ext) dependencies.add(resolved);
18756
- else dependencies.add(resolved.slice(0, -ext.length));
18811
+ for (const block of styleBlocks ?? []) {
18812
+ if (block.content) for (const dependency of collectCssDependenciesFromContent(ctx, filename, block.content)) dependencies.add(dependency);
18813
+ if (typeof block.src === "string" && block.src.trim()) addResolvedCssSpecifier(ctx, dependencies, filename, block.src.trim());
18757
18814
  }
18758
- registerCssImports(ctx, importer, dependencies);
18815
+ registerCssImports(ctx, filename, dependencies);
18759
18816
  }
18760
18817
  function collectCssImporters(ctx, dependency) {
18761
18818
  const graph = ensureCssGraph(ctx);
18819
+ if (!graph) return /* @__PURE__ */ new Set();
18762
18820
  const normalizedDependency = normalizePath$1(dependency);
18763
18821
  const matches = /* @__PURE__ */ new Set();
18764
18822
  const direct = graph.dependencyToImporters.get(normalizedDependency);
@@ -18882,7 +18940,7 @@ function ensureSidecarWatcher(ctx, rootDir) {
18882
18940
  const hasReverseImporters = Boolean(isTemplateFile || isScriptModuleFile) && (ctx.wxmlService?.getImporters(filePath).size ?? 0) > 0;
18883
18941
  if (isCssFile && (event === "create" || event === "update")) extractCssImportDependencies(ctx, filePath);
18884
18942
  const isDeleteEvent = event === "delete";
18885
- if (event === "create" && ready || isDeleteEvent || event === "update" && (hasReverseImporters || isTemplateFile)) {
18943
+ if (event === "create" && ready || isDeleteEvent || event === "update" && (isCssFile || hasReverseImporters || isTemplateFile)) {
18886
18944
  (async () => {
18887
18945
  if (isTemplateFile && event !== "delete") await ctx.wxmlService?.scan(filePath);
18888
18946
  await invalidateEntryForSidecar(ctx, filePath, event);
@@ -19038,6 +19096,10 @@ function isOutputFileChange(state, normalizedId) {
19038
19096
  const normalizedOutDir = normalizeFsResolvedId(outDir);
19039
19097
  return normalizedId === normalizedOutDir || normalizedId.startsWith(`${normalizedOutDir}/`);
19040
19098
  }
19099
+ function isCurrentSubPackageFile(relativeSrc, subPackageMeta) {
19100
+ const root = subPackageMeta?.subPackage.root;
19101
+ return !root || relativeSrc === root || relativeSrc.startsWith(`${root}/`);
19102
+ }
19041
19103
  async function normalizeWatchEvent(id, event) {
19042
19104
  if (event !== "delete") return event;
19043
19105
  for (const delayMs of ATOMIC_SAVE_RECHECK_DELAYS_MS) {
@@ -19113,13 +19175,30 @@ async function processChangedFile(state, id, event) {
19113
19175
  }
19114
19176
  }
19115
19177
  };
19178
+ const markScriptDirty = (scriptId, cause) => {
19179
+ const normalizedScriptId = normalizeFsResolvedId(scriptId);
19180
+ const reason = isLayoutSourcePath(configService.relativeAbsoluteSrcRoot(normalizedScriptId)) ? "dependency" : "direct";
19181
+ if (reason === "dependency") affectedLayoutEntryIds.add(normalizedScriptId);
19182
+ else markEntryDirtyWithCause(normalizedScriptId, reason, cause);
19183
+ };
19184
+ const addCssImporterEntries = async (startId) => {
19185
+ const { importers, scripts } = await collectAffectedScriptsAndImporters(ctx, startId);
19186
+ for (const importer of importers) {
19187
+ const normalizedImporter = normalizeFsResolvedId(importer);
19188
+ if (isCurrentSubPackageFile(configService.relativeAbsoluteSrcRoot(normalizedImporter), subPackageMeta) && (loadedEntrySet.has(normalizedImporter) || resolvedEntryMap.has(normalizedImporter))) markScriptDirty(normalizedImporter, "css-importer");
19189
+ }
19190
+ for (const script of scripts) markScriptDirty(script, "css-importer");
19191
+ };
19116
19192
  if (isDeletedMissingSelf) ctx.runtimeState.build.hmr.vueEntryNonJsonSignatures.delete(normalizedId);
19117
19193
  if ((event === "create" || isDeletedMissingSelf) && isAutoRouteFile) {
19118
19194
  if (await ctx.autoRoutesService?.handleFileChange(normalizedId, event)) dirtyReasonStats.set("auto-routes-topology", 1);
19119
19195
  }
19120
- if (event === "update" && isAppVueFile(normalizedId) && resolvedEntryMap.size) for (const entryId of resolvedEntryMap.keys()) {
19121
- if (entryId === normalizedId) continue;
19122
- markEntryDirtyWithCause(entryId, "dependency", "app-shell-dependent");
19196
+ if (event === "update" && isAppVueFile(normalizedId) && resolvedEntryMap.size) {
19197
+ loadEntry?.invalidateResolveCache?.();
19198
+ for (const entryId of resolvedEntryMap.keys()) {
19199
+ if (entryId === normalizedId) continue;
19200
+ markEntryDirtyWithCause(entryId, "dependency", "app-shell-dependent");
19201
+ }
19123
19202
  }
19124
19203
  invalidateFileCache(normalizedId);
19125
19204
  if (event === "update") {
@@ -19137,12 +19216,8 @@ async function processChangedFile(state, id, event) {
19137
19216
  const ext = path.extname(normalizedId);
19138
19217
  return ext ? normalizedId.slice(0, -ext.length) : normalizedId;
19139
19218
  })());
19140
- if (primaryScript.path) {
19141
- const primaryScriptId = normalizeFsResolvedId(primaryScript.path);
19142
- const reason = isLayoutSourcePath(configService.relativeAbsoluteSrcRoot(primaryScriptId)) ? "dependency" : "direct";
19143
- if (reason === "dependency") affectedLayoutEntryIds.add(primaryScriptId);
19144
- else markEntryDirtyWithCause(primaryScriptId, reason, "sidecar-direct");
19145
- }
19219
+ if (primaryScript.path) markScriptDirty(primaryScript.path, "sidecar-direct");
19220
+ else if (isStyleFile) await addCssImporterEntries(normalizedId);
19146
19221
  }
19147
19222
  }
19148
19223
  if (event === "update" && isLayoutSourcePath(relativeSrc) && (loadedEntrySet.has(normalizedId) || resolvedEntryMap.has(normalizedId))) affectedLayoutEntryIds.add(normalizedId);
@@ -19165,7 +19240,7 @@ async function processChangedFile(state, id, event) {
19165
19240
  for (const entryId of resolvedEntryMap.keys()) markEntryDirtyWithCause(entryId, "dependency", "layout-fallback-full");
19166
19241
  return [...dirtyReasonStats.entries()].map(([cause, count]) => `${cause}:${count}`);
19167
19242
  }
19168
- if (!isDeletedMissingSelf && (loadedEntrySet.has(normalizedId) || declaredEntryType === "page" || declaredEntryType === "component")) {
19243
+ if (!isDeletedMissingSelf && isCurrentSubPackageFile(relativeSrc, subPackageMeta) && (loadedEntrySet.has(normalizedId) || declaredEntryType === "page" || declaredEntryType === "component")) {
19169
19244
  const isJsonOnlyVueEntryUpdate = event === "update" && await isVueEntryJsonOnlyUpdate(state, normalizedId);
19170
19245
  markEntryDirtyWithCause(normalizedId, isJsonOnlyVueEntryUpdate ? "metadata" : "direct", isJsonOnlyVueEntryUpdate ? "entry-json-only" : "entry-direct");
19171
19246
  } else if (state.layoutEntryDependents.size && state.layoutEntryDependents.get(normalizedId)?.size) {
@@ -19178,7 +19253,7 @@ async function processChangedFile(state, id, event) {
19178
19253
  markEntryDirtyWithCause(entryId, "dependency", "importer-graph");
19179
19254
  }
19180
19255
  }
19181
- const sharedChunkAffected = collectAffectedEntriesFromSharedChunks(state, normalizedId);
19256
+ const sharedChunkAffected = !dirtyReasonStats.has("sidecar-direct") && !dirtyReasonStats.has("css-importer") ? collectAffectedEntriesFromSharedChunks(state, normalizedId) : /* @__PURE__ */ new Set();
19182
19257
  if (sharedChunkAffected.size) for (const entryId of sharedChunkAffected) {
19183
19258
  if (importerGraphAffectedEntryIds.has(entryId)) continue;
19184
19259
  markEntryDirtyWithCause(entryId, "dependency", "shared-chunk-source");
@@ -19212,10 +19287,10 @@ async function processChangedFile(state, id, event) {
19212
19287
  if (independentMeta?.watchSharedStyles !== false) invalidateSharedStyleCache();
19213
19288
  }
19214
19289
  }
19215
- if (subPackageMeta) {
19290
+ if (subPackageMeta && dirtyReasonStats.size > 0) {
19216
19291
  if (subPackageMeta.watchSharedStyles !== false) invalidateSharedStyleCache();
19217
19292
  logger_default.success(`[${event}] ${configService.relativeCwd(normalizedId)} --[独立分包 ${subPackageMeta.subPackage.root}]`);
19218
- } else if (!handledByIndependentWatcher) logger_default.success(`[${event}] ${configService.relativeCwd(normalizedId)}`);
19293
+ } else if (!subPackageMeta && !handledByIndependentWatcher) logger_default.success(`[${event}] ${configService.relativeCwd(normalizedId)}`);
19219
19294
  return [...dirtyReasonStats.entries()].map(([cause, count]) => `${cause}:${count}`);
19220
19295
  }
19221
19296
  function createWatchChangeHook(state) {
@@ -20297,6 +20372,8 @@ function buildCompileVueFileOptions(ctx, pluginCtx, vuePath, isPage, isApp, conf
20297
20372
  const classStyleRuntimeConfig = configService.weappViteConfig?.vue?.template?.classStyleRuntime ?? "js";
20298
20373
  const objectLiteralBindMode = configService.weappViteConfig?.vue?.template?.objectLiteralBindMode ?? "runtime";
20299
20374
  const mustacheInterpolation = configService.weappViteConfig?.vue?.template?.mustacheInterpolation ?? "compact";
20375
+ const formatWxmlConfig = configService.weappViteConfig?.vue?.template?.formatWxml ?? "auto";
20376
+ const formatWxml = formatWxmlConfig === "auto" ? configService.isDev : formatWxmlConfig;
20300
20377
  const wxsEnabled = configService.weappViteConfig?.wxs !== false;
20301
20378
  const wxsExtension = configService.outputExtensions?.wxs;
20302
20379
  const templatePlatformOptions = resolveVueTemplatePlatformOptions({
@@ -20381,6 +20458,7 @@ function buildCompileVueFileOptions(ctx, pluginCtx, vuePath, isPage, isApp, conf
20381
20458
  classStyleRuntime: templatePlatformOptions.classStyleRuntime,
20382
20459
  objectLiteralBindMode,
20383
20460
  mustacheInterpolation,
20461
+ formatWxml,
20384
20462
  wxsExtension: templatePlatformOptions.wxsExtension,
20385
20463
  classStyleWxsSrc
20386
20464
  },
@@ -21289,6 +21367,15 @@ async function collectFallbackPageEntryIds(configService, scanService) {
21289
21367
  }
21290
21368
  //#endregion
21291
21369
  //#region src/plugins/vue/transform/bundle/emitFallbackPage.ts
21370
+ function isFallbackEntryPending(entryId, emittedEntryIds, configService) {
21371
+ const normalizedEntryId = removeExtensionDeep(configService.relativeOutputPath(entryId));
21372
+ for (const emittedEntryId of emittedEntryIds) {
21373
+ const normalizedEmitted = normalizeFsResolvedId(emittedEntryId);
21374
+ if (!normalizedEmitted) continue;
21375
+ if (removeExtensionDeep(configService.relativeOutputPath(normalizedEmitted)) === normalizedEntryId) return true;
21376
+ }
21377
+ return false;
21378
+ }
21292
21379
  async function emitResolvedFallbackPageEntryAssets(options) {
21293
21380
  const { source, result } = await loadFallbackPageEntryCompilation({
21294
21381
  entryFilePath: options.entryFilePath,
@@ -21330,7 +21417,7 @@ async function emitResolvedFallbackPageEntryAssets(options) {
21330
21417
  platformAssetOptions: options.platformAssetOptions
21331
21418
  });
21332
21419
  }
21333
- async function emitFallbackPageAssets(bundle, state) {
21420
+ async function emitFallbackPageAssets(bundle, state, options) {
21334
21421
  const { ctx, pluginCtx, compilationCache, reExportResolutionCache, classStyleRuntimeWarned, compileOptionsCache } = state;
21335
21422
  const { configService, scanService } = ctx;
21336
21423
  if (!configService || !scanService) return;
@@ -21342,6 +21429,7 @@ async function emitFallbackPageAssets(bundle, state) {
21342
21429
  const { outputExtensions, templateExtension, styleExtension, jsonExtension, scriptModuleExtension, platformAssetOptions } = resolveVueBundleAssetContext(configService);
21343
21430
  const collectedEntries = await collectFallbackPageEntryIds(configService, scanService);
21344
21431
  for (const entryId of collectedEntries) {
21432
+ if (options?.emittedEntryIds && !isFallbackEntryPending(entryId, options.emittedEntryIds, configService)) continue;
21345
21433
  const emitState = await resolveFallbackPageEmitState({
21346
21434
  entryId,
21347
21435
  configService,
@@ -21385,10 +21473,15 @@ function resolveVueBundleEmitState(state) {
21385
21473
  state.appShell = Array.from(compilationCache.entries()).find(([filename, cached]) => {
21386
21474
  return isAppVueFile(filename) && hasAppShellTemplate(cached.result);
21387
21475
  }) ? resolveAppShellLayout(configService) : void 0;
21388
- const emittedEntryIds = Boolean(configService.isDev && ctx.runtimeState?.build?.hmr?.profile?.event === "update" && !ctx.runtimeState.build.hmr.didEmitAllEntries && ctx.runtimeState.build.hmr.lastEmittedEntryIds.size > 0) ? ctx.runtimeState.build.hmr.lastEmittedEntryIds : void 0;
21389
- return { compilationEntries: Array.from(compilationCache.entries()).filter(([id]) => {
21390
- return !emittedEntryIds || emittedEntryIds.has(normalizeFsResolvedId(id));
21391
- }) };
21476
+ const hmrState = ctx.runtimeState?.build?.hmr;
21477
+ const isAppVueHmrUpdate = Boolean(configService.isDev && hmrState?.profile?.file && isAppVueFile(hmrState.profile.file));
21478
+ const emittedEntryIds = Boolean(configService.isDev && hmrState && !isAppVueHmrUpdate && !hmrState.didEmitAllEntries && hmrState.lastEmittedEntryIds.size > 0) && hmrState ? hmrState.lastEmittedEntryIds : void 0;
21479
+ return {
21480
+ compilationEntries: Array.from(compilationCache.entries()).filter(([id]) => {
21481
+ return !emittedEntryIds || emittedEntryIds.has(normalizeFsResolvedId(id));
21482
+ }),
21483
+ emittedEntryIds
21484
+ };
21392
21485
  }
21393
21486
  async function emitCompiledBundleEntries(bundle, state, compilationEntries) {
21394
21487
  for (const [filename, cached] of compilationEntries) await emitCompiledVueEntryAssets(bundle, state, filename, cached);
@@ -21397,7 +21490,7 @@ async function emitVueBundleAssets(bundle, state) {
21397
21490
  const emitState = resolveVueBundleEmitState(state);
21398
21491
  if (!emitState) return;
21399
21492
  await emitCompiledBundleEntries(bundle, state, emitState.compilationEntries);
21400
- await emitFallbackPageAssets(bundle, state);
21493
+ await emitFallbackPageAssets(bundle, state, { emittedEntryIds: emitState.emittedEntryIds });
21401
21494
  }
21402
21495
  //#endregion
21403
21496
  //#region src/plugins/vue/transform/plugin/shared/autoRoutes.ts
@@ -21919,6 +22012,7 @@ async function transformVueLikeFile(options) {
21919
22012
  compileJsxFile
21920
22013
  })));
21921
22014
  if (Array.isArray(result.meta?.styleBlocks)) styleBlocksCache.set(filename, result.meta.styleBlocks);
22015
+ syncVueSfcStyleDependencies(ctx, filename, result.meta?.styleBlocks ?? styleBlocksCache.get(filename));
21922
22016
  registerScopedSlotHostGenerics(ctx, result.scopedSlotComponents, parseUsingComponents(result.config));
21923
22017
  await measureStage("finalizeCompiledResult", async () => {
21924
22018
  await finalizeTransformCompiledResult({
@@ -22417,6 +22511,7 @@ function mergeMiniprogram(options, ...configs) {
22417
22511
  __VITE_IS_MODERN__: "false"
22418
22512
  };
22419
22513
  if (isDev) {
22514
+ const hmrWatchBuildDelay = 60;
22420
22515
  const watchInclude = resolveMiniprogramWatchInclude({
22421
22516
  cwd,
22422
22517
  srcRoot,
@@ -22430,6 +22525,7 @@ function mergeMiniprogram(options, ...configs) {
22430
22525
  build: {
22431
22526
  modulePreload: false,
22432
22527
  watch: {
22528
+ buildDelay: hmrWatchBuildDelay,
22433
22529
  exclude: [...defaultExcluded, mpDistRoot ? path.join(cwd, mpDistRoot, "**") : path.join(cwd, "dist", "**")],
22434
22530
  include: watchInclude
22435
22531
  },
@@ -23410,7 +23506,7 @@ async function loadAppEntry(ctx, scanState) {
23410
23506
  const vueAppPath = await findVueEntry(appBasename);
23411
23507
  let configFromVue;
23412
23508
  if (!appConfigFile && vueAppPath) {
23413
- const { extractConfigFromVue } = await import("./file-35pjSeN9.mjs");
23509
+ const { extractConfigFromVue } = await import("./file-DWUIhjgC.mjs");
23414
23510
  configFromVue = await extractConfigFromVue(vueAppPath);
23415
23511
  if (configFromVue) appConfigFile = vueAppPath;
23416
23512
  }
@@ -46,6 +46,8 @@
46
46
  把常见 HTML 标签映射为小程序内置标签。
47
47
  - `weapp.vue.template.htmlTagToWxmlTagClass`
48
48
  默认开启。映射发生时,会再补一个原标签名 class,方便你自己用 CSS 恢复默认外观。
49
+ - `weapp.vue.template.formatWxml`
50
+ 默认 `auto`。开发态会格式化生成的 WXML,生产构建保持紧凑输出;也可以显式设置 `true` 或 `false`。
49
51
 
50
52
  例如:
51
53
 
@@ -42,6 +42,12 @@ export default defineConfig({
42
42
 
43
43
  如果你的迁移策略是“先跑通,再用 CSS 逐步恢复默认外观”,这个开关很有价值;如果不希望产物里自动带这层语义 class,可以显式设为 `false`。
44
44
 
45
+ ### `vue.template.formatWxml`
46
+
47
+ 控制 `.vue` / JSX 编译生成的 WXML 是否格式化。默认 `auto`:开发态开启,生产构建关闭。显式设为 `true` 可始终输出带缩进和换行的 WXML,显式设为 `false` 可始终保持紧凑输出。
48
+
49
+ 格式化只处理标签层级缩进,含文本内容的元素会保持单行,避免重排文本空白语义。
50
+
45
51
  ### `layout`
46
52
 
47
53
  页面 layout 既可能来自项目级规则,也可能来自页面侧 `definePageMeta`。排查时先确认是哪一层生效。
@@ -84,7 +84,7 @@ function resolveAutoRoutesMacroImportPath() {
84
84
  }
85
85
  async function resolveAutoRoutesInlineSnapshot() {
86
86
  try {
87
- const { getCompilerContext } = await import("./getInstance-DD6NsV2F.mjs");
87
+ const { getCompilerContext } = await import("./getInstance-ClZzdXfq.mjs");
88
88
  const compilerContext = getCompilerContext();
89
89
  const service = compilerContext.autoRoutesService;
90
90
  const reference = service?.getReference?.();
@@ -0,0 +1,2 @@
1
+ import { t as extractConfigFromVue } from "./file-8E6neBUV.mjs";
2
+ export { extractConfigFromVue };
@@ -0,0 +1,2 @@
1
+ import { i as getCompilerContext } from "./createContext-D7bNXjAv.mjs";
2
+ export { getCompilerContext };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { $n as getSupportedWeappViteTargetDescriptors, A as Ref, Bn as createWeappViteHostMeta, C as LoadConfigOptions, D as MethodDefinitions, E as InlineConfig, F as RolldownPlugin, Gn as WEB_PLATFORM_ALIASES, Hn as resolveWeappViteHostMeta, I as RolldownPluginOption, Jn as WeappViteTargetDescriptor, Kn as WeappVitePlatform, L as RolldownWatchOptions, Ln as WEAPP_VITE_HOST_NAME, M as RolldownBuild, N as RolldownOptions, O as Plugin, P as RolldownOutput, Qn as getSupportedWeappVitePlatforms, R as RolldownWatcher, Rn as WeappViteHostMeta, S as CompilerContext, T as ConfigEnv, Un as ResolveWeappViteTargetOptions, Vn as isWeappViteHost, Wn as ResolvedWeappViteTarget, Xn as WeappViteTargetKind, Yn as WeappViteTargetInput, Zn as WebPlatform, _ as definePageJson, a as UserConfigFnNoEnvPlain, at as WeappViteConfig, c as UserConfigFnPromise, d as Component, er as isWebPlatform, f as Page, g as defineComponentJson, h as defineAppJson, i as UserConfigFnNoEnv, j as ResolvedConfig, k as PluginOption, l as defineConfig, m as Theme, n as UserConfigExport, o as UserConfigFnObject, p as Sitemap, qn as WeappViteRuntime, r as UserConfigFn, s as UserConfigFnObjectPlain, t as UserConfig, tr as resolveWeappViteTarget, u as App, v as defineSitemapJson, w as ComputedDefinitions, y as defineThemeJson, z as ViteDevServer, zn as applyWeappViteHostMeta } from "./config-CIXBpBjh.mjs";
1
+ import { $n as getSupportedWeappViteTargetDescriptors, A as Ref, Bn as createWeappViteHostMeta, C as LoadConfigOptions, D as MethodDefinitions, E as InlineConfig, F as RolldownPlugin, Gn as WEB_PLATFORM_ALIASES, Hn as resolveWeappViteHostMeta, I as RolldownPluginOption, Jn as WeappViteTargetDescriptor, Kn as WeappVitePlatform, L as RolldownWatchOptions, Ln as WEAPP_VITE_HOST_NAME, M as RolldownBuild, N as RolldownOptions, O as Plugin, P as RolldownOutput, Qn as getSupportedWeappVitePlatforms, R as RolldownWatcher, Rn as WeappViteHostMeta, S as CompilerContext, T as ConfigEnv, Un as ResolveWeappViteTargetOptions, Vn as isWeappViteHost, Wn as ResolvedWeappViteTarget, Xn as WeappViteTargetKind, Yn as WeappViteTargetInput, Zn as WebPlatform, _ as definePageJson, a as UserConfigFnNoEnvPlain, at as WeappViteConfig, c as UserConfigFnPromise, d as Component, er as isWebPlatform, f as Page, g as defineComponentJson, h as defineAppJson, i as UserConfigFnNoEnv, j as ResolvedConfig, k as PluginOption, l as defineConfig, m as Theme, n as UserConfigExport, o as UserConfigFnObject, p as Sitemap, qn as WeappViteRuntime, r as UserConfigFn, s as UserConfigFnObjectPlain, t as UserConfig, tr as resolveWeappViteTarget, u as App, v as defineSitemapJson, w as ComputedDefinitions, y as defineThemeJson, z as ViteDevServer, zn as applyWeappViteHostMeta } from "./config-CY6lHET0.mjs";
2
2
  import { a as createWevuComponent, i as WevuComponentOptions, n as defineProps, r as setPageLayout, t as defineEmits } from "./runtime-DSLk7kWi.mjs";
3
3
 
4
4
  //#region src/createContext.d.ts
@@ -12,4 +12,4 @@ interface CreateCompilerContextOptions extends Partial<LoadConfigOptions> {
12
12
  */
13
13
  declare function createCompilerContext(options?: CreateCompilerContextOptions): Promise<CompilerContext>;
14
14
  //#endregion
15
- export { App, Component, ComputedDefinitions, ConfigEnv, InlineConfig, MethodDefinitions, Page, Plugin, PluginOption, Ref, ResolveWeappViteTargetOptions, ResolvedConfig, ResolvedWeappViteTarget, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatchOptions, RolldownWatcher, Sitemap, Theme, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnNoEnv, UserConfigFnNoEnvPlain, UserConfigFnObject, UserConfigFnObjectPlain, UserConfigFnPromise, ViteDevServer, WEAPP_VITE_HOST_NAME, WEB_PLATFORM_ALIASES, WeappViteConfig, WeappViteHostMeta, WeappVitePlatform, WeappViteRuntime, WeappViteTargetDescriptor, WeappViteTargetInput, WeappViteTargetKind, WebPlatform, type WevuComponentOptions, applyWeappViteHostMeta, createCompilerContext, createWeappViteHostMeta, createWevuComponent, defineAppJson, defineComponentJson, defineConfig, defineEmits, definePageJson, defineProps, defineSitemapJson, defineThemeJson, getSupportedWeappVitePlatforms, getSupportedWeappViteTargetDescriptors, isWeappViteHost, isWebPlatform, resolveWeappViteHostMeta, resolveWeappViteTarget, setPageLayout };
15
+ export { type App, type Component, type ComputedDefinitions, type ConfigEnv, type InlineConfig, type MethodDefinitions, type Page, type Plugin, type PluginOption, type Ref, ResolveWeappViteTargetOptions, type ResolvedConfig, ResolvedWeappViteTarget, type RolldownBuild, type RolldownOptions, type RolldownOutput, type RolldownPlugin, type RolldownPluginOption, type RolldownWatchOptions, type RolldownWatcher, type Sitemap, type Theme, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnNoEnv, UserConfigFnNoEnvPlain, UserConfigFnObject, UserConfigFnObjectPlain, UserConfigFnPromise, type ViteDevServer, WEAPP_VITE_HOST_NAME, WEB_PLATFORM_ALIASES, type WeappViteConfig, WeappViteHostMeta, WeappVitePlatform, WeappViteRuntime, WeappViteTargetDescriptor, WeappViteTargetInput, WeappViteTargetKind, WebPlatform, type WevuComponentOptions, applyWeappViteHostMeta, createCompilerContext, createWeappViteHostMeta, createWevuComponent, defineAppJson, defineComponentJson, defineConfig, defineEmits, definePageJson, defineProps, defineSitemapJson, defineThemeJson, getSupportedWeappVitePlatforms, getSupportedWeappViteTargetDescriptors, isWeappViteHost, isWebPlatform, resolveWeappViteHostMeta, resolveWeappViteTarget, setPageLayout };
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { a as defineThemeJson, i as defineSitemapJson, n as defineComponentJson, r as definePageJson, t as defineAppJson } from "./json-D0HkutE0.mjs";
2
2
  import { a as resolveWeappViteHostMeta, i as isWeappViteHost, n as applyWeappViteHostMeta, r as createWeappViteHostMeta, t as WEAPP_VITE_HOST_NAME } from "./pluginHost-BEnGeaSo.mjs";
3
3
  import { t as defineConfig } from "./config-DJjSbpNX.mjs";
4
- import { c as WEB_PLATFORM_ALIASES, d as isWebPlatform, f as resolveWeappViteTarget, l as getSupportedWeappVitePlatforms, t as createCompilerContext, u as getSupportedWeappViteTargetDescriptors } from "./createContext-CzGWJpCw.mjs";
4
+ import { c as WEB_PLATFORM_ALIASES, d as isWebPlatform, f as resolveWeappViteTarget, l as getSupportedWeappVitePlatforms, t as createCompilerContext, u as getSupportedWeappViteTargetDescriptors } from "./createContext-D7bNXjAv.mjs";
5
5
  import { i as createWevuComponent, n as defineProps, r as setPageLayout, t as defineEmits } from "./runtime-spnjzaP2.mjs";
6
6
  export { WEAPP_VITE_HOST_NAME, WEB_PLATFORM_ALIASES, applyWeappViteHostMeta, createCompilerContext, createWeappViteHostMeta, createWevuComponent, defineAppJson, defineComponentJson, defineConfig, defineEmits, definePageJson, defineProps, defineSitemapJson, defineThemeJson, getSupportedWeappVitePlatforms, getSupportedWeappViteTargetDescriptors, isWeappViteHost, isWebPlatform, resolveWeappViteHostMeta, resolveWeappViteTarget, setPageLayout };
package/dist/json.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { _ as definePageJson, d as Component, f as Page, g as defineComponentJson, h as defineAppJson, m as Theme, p as Sitemap, u as App, v as defineSitemapJson, y as defineThemeJson } from "./config-CIXBpBjh.mjs";
2
- export { App, Component, Page, Sitemap, Theme, defineAppJson, defineComponentJson, definePageJson, defineSitemapJson, defineThemeJson };
1
+ import { _ as definePageJson, d as Component, f as Page, g as defineComponentJson, h as defineAppJson, m as Theme, p as Sitemap, u as App, v as defineSitemapJson, y as defineThemeJson } from "./config-CY6lHET0.mjs";
2
+ export { type App, type Component, type Page, type Sitemap, type Theme, defineAppJson, defineComponentJson, definePageJson, defineSitemapJson, defineThemeJson };
package/dist/mcp.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { wt as WeappMcpConfig } from "./config-CIXBpBjh.mjs";
1
+ import { wt as WeappMcpConfig } from "./config-CY6lHET0.mjs";
2
2
  import { CreateServerOptions, DEFAULT_MCP_ENDPOINT, DEFAULT_MCP_HOST, DEFAULT_MCP_PORT, DEFAULT_RUNTIME_REST_ENDPOINT, McpServerHandle, StartMcpServerOptions, createWeappViteMcpServer } from "@weapp-vite/mcp";
3
3
 
4
4
  //#region src/mcp.d.ts
@@ -1,2 +1,2 @@
1
1
  import { a as createWevuComponent, i as WevuComponentOptions, n as defineProps, r as setPageLayout, t as defineEmits } from "./runtime-DSLk7kWi.mjs";
2
- export { WevuComponentOptions, createWevuComponent, defineEmits, defineProps, setPageLayout };
2
+ export { type WevuComponentOptions, createWevuComponent, defineEmits, defineProps, setPageLayout };
package/dist/types.d.mts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { c as Resolver } from "./index-C1yQldy3.mjs";
2
2
  import { n as AutoRoutesSubPackage, t as AutoRoutes } from "./routes-DiEBrMtj.mjs";
3
- import { $ as WeappAnalyzeBudgetConfig, $t as GenerateTemplateScope, A as Ref, An as WeappLibVueTscOptions, At as WeappVueConfig, B as BindingErrorLike, Bt as CopyGlobs, Cn as SubPackageStyleScope, Ct as WeappInjectWebRuntimeGlobalsTarget, D as MethodDefinitions, Dn as WeappLibEntryContext, Dt as WeappRouteRule, E as InlineConfig, En as WeappLibDtsOptions, Et as WeappRequestRuntimeConfig, F as RolldownPlugin, Fn as WeappManagedTypeScriptConfig, Ft as Alias, G as EntryJsonFragment, Gt as GenerateFilenamesOptions, H as BaseEntry, Ht as GenerateDirsOptions, I as RolldownPluginOption, In as WeappWebConfig, It as AliasOptions, J as ScanComponentItem, Jt as GenerateTemplateContext, K as PageEntry, Kt as GenerateOptions, L as RolldownWatchOptions, Lt as AlipayNpmMode, M as RolldownBuild, Mn as WeappManagedNodeTsconfigConfig, Mt as WeappWebRuntimeConfig, N as RolldownOptions, Nn as WeappManagedServerTsconfigConfig, Nt as WeappWevuConfig, O as Plugin, On as WeappLibFileName, Ot as WeappRouteRules, P as RolldownOutput, Pn as WeappManagedSharedTsconfigConfig, Pt as WeappWorkerConfig, Q as UserConfig, Qt as GenerateTemplateInlineSource, R as RolldownWatcher, Rn as WeappViteHostMeta, Rt as BuildNpmPackageMeta, Sn as SubPackageStyleEntry, St as WeappInjectWebRuntimeGlobalsConfig, T as ConfigEnv, Tn as WeappLibConfig, Tt as WeappNpmConfig, U as ComponentEntry, Ut as GenerateExtensionsOptions, V as AppEntry, Vt as CopyOptions, W as Entry, Wt as GenerateFileType, X as ProjectConfig, Xt as GenerateTemplateFactory, Y as WxmlDep, Yt as GenerateTemplateEntry, Z as SubPackageMetaValue, Zt as GenerateTemplateFileSource, _n as SharedChunkOverride, _t as WeappAutoRoutesIncludePattern, an as JsonMergeStage, at as WeappViteConfig, b as ChangeEvent, bn as SubPackageStyleConfigEntry, bt as WeappInjectRequestGlobalsTarget, cn as NpmBuildOptions, ct as EnhanceOptions, dn as NpmPluginPackageConfig, dt as MultiPlatformConfig, en as GenerateTemplatesConfig, et as WeappAnalyzeConfig, fn as NpmStrategy, ft as ScanWxmlOptions, gn as SharedChunkMode, gt as WeappAutoRoutesInclude, hn as SharedChunkDynamicImports, ht as WeappAutoRoutesConfig, in as JsonMergeFunction, it as WeappForwardConsoleLogLevel, j as ResolvedConfig, jn as WeappManagedAppTsconfigConfig, jt as WeappVueTemplateConfig, k as PluginOption, kn as WeappLibInternalDtsOptions, kt as WeappSubPackageConfig, ln as NpmDependencyPattern, lt as EnhanceWxmlOptions, mn as ResolvedAlias, mt as WeappAppPreludeMode, nn as JsonConfig, nt as WeappDebugConfig, on as JsonMergeStrategy, ot as AutoImportComponents, pn as NpmSubPackageConfig, pt as WeappAppPreludeConfig, q as ComponentsMap, qn as WeappViteRuntime, qt as GenerateTemplate, rn as JsonMergeContext, rt as WeappForwardConsoleConfig, sn as MpPlatform, st as AutoImportComponentsOption, tn as JsFormat, tt as WeappAnalyzeHistoryConfig, un as NpmMainPackageConfig, ut as HandleWxmlOptions, vn as SharedChunkStrategy, vt as WeappHmrConfig, w as ComputedDefinitions, wn as WeappLibComponentJson, wt as WeappMcpConfig, x as WeappVitePluginApi, xn as SubPackageStyleConfigObject, xt as WeappInjectWeapiConfig, yn as SubPackage, yt as WeappInjectRequestGlobalsConfig, z as ViteDevServer, zt as ChunksConfig } from "./config-CIXBpBjh.mjs";
4
- export { Alias, AliasOptions, AlipayNpmMode, AppEntry, AutoImportComponents, AutoImportComponentsOption, AutoRoutes, AutoRoutesSubPackage, BaseEntry, BindingErrorLike, BuildNpmPackageMeta, ChangeEvent, ChunksConfig, ComponentEntry, ComponentsMap, ComputedDefinitions, ConfigEnv, CopyGlobs, CopyOptions, EnhanceOptions, EnhanceWxmlOptions, Entry, EntryJsonFragment, GenerateDirsOptions, GenerateExtensionsOptions, GenerateFileType, GenerateFilenamesOptions, GenerateOptions, GenerateTemplate, GenerateTemplateContext, GenerateTemplateEntry, GenerateTemplateFactory, GenerateTemplateFileSource, GenerateTemplateInlineSource, GenerateTemplateScope, GenerateTemplatesConfig, HandleWxmlOptions, InlineConfig, JsFormat, JsonConfig, JsonMergeContext, JsonMergeFunction, JsonMergeStage, JsonMergeStrategy, MethodDefinitions, MpPlatform, MultiPlatformConfig, NpmBuildOptions, NpmDependencyPattern, NpmMainPackageConfig, NpmPluginPackageConfig, NpmStrategy, NpmSubPackageConfig, PageEntry, Plugin, PluginOption, ProjectConfig, Ref, ResolvedAlias, ResolvedConfig, Resolver, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatchOptions, RolldownWatcher, ScanComponentItem, ScanWxmlOptions, SharedChunkDynamicImports, SharedChunkMode, SharedChunkOverride, SharedChunkStrategy, SubPackage, SubPackageMetaValue, SubPackageStyleConfigEntry, SubPackageStyleConfigObject, SubPackageStyleEntry, SubPackageStyleScope, UserConfig, ViteDevServer, WeappAnalyzeBudgetConfig, WeappAnalyzeConfig, WeappAnalyzeHistoryConfig, WeappAppPreludeConfig, WeappAppPreludeMode, WeappAutoRoutesConfig, WeappAutoRoutesInclude, WeappAutoRoutesIncludePattern, WeappDebugConfig, WeappForwardConsoleConfig, WeappForwardConsoleLogLevel, WeappHmrConfig, WeappInjectRequestGlobalsConfig, WeappInjectRequestGlobalsTarget, WeappInjectWeapiConfig, WeappInjectWebRuntimeGlobalsConfig, WeappInjectWebRuntimeGlobalsTarget, WeappLibComponentJson, WeappLibConfig, WeappLibDtsOptions, WeappLibEntryContext, WeappLibFileName, WeappLibInternalDtsOptions, WeappLibVueTscOptions, WeappManagedAppTsconfigConfig, WeappManagedNodeTsconfigConfig, WeappManagedServerTsconfigConfig, WeappManagedSharedTsconfigConfig, WeappManagedTypeScriptConfig, WeappMcpConfig, WeappNpmConfig, WeappRequestRuntimeConfig, WeappRouteRule, WeappRouteRules, WeappSubPackageConfig, WeappViteConfig, WeappViteHostMeta, WeappVitePluginApi, WeappViteRuntime, WeappVueConfig, WeappVueTemplateConfig, WeappWebConfig, WeappWebRuntimeConfig, WeappWevuConfig, WeappWorkerConfig, WxmlDep };
3
+ import { $ as WeappAnalyzeBudgetConfig, $t as GenerateTemplateScope, A as Ref, An as WeappLibVueTscOptions, At as WeappVueConfig, B as BindingErrorLike, Bt as CopyGlobs, Cn as SubPackageStyleScope, Ct as WeappInjectWebRuntimeGlobalsTarget, D as MethodDefinitions, Dn as WeappLibEntryContext, Dt as WeappRouteRule, E as InlineConfig, En as WeappLibDtsOptions, Et as WeappRequestRuntimeConfig, F as RolldownPlugin, Fn as WeappManagedTypeScriptConfig, Ft as Alias, G as EntryJsonFragment, Gt as GenerateFilenamesOptions, H as BaseEntry, Ht as GenerateDirsOptions, I as RolldownPluginOption, In as WeappWebConfig, It as AliasOptions, J as ScanComponentItem, Jt as GenerateTemplateContext, K as PageEntry, Kt as GenerateOptions, L as RolldownWatchOptions, Lt as AlipayNpmMode, M as RolldownBuild, Mn as WeappManagedNodeTsconfigConfig, Mt as WeappWebRuntimeConfig, N as RolldownOptions, Nn as WeappManagedServerTsconfigConfig, Nt as WeappWevuConfig, O as Plugin, On as WeappLibFileName, Ot as WeappRouteRules, P as RolldownOutput, Pn as WeappManagedSharedTsconfigConfig, Pt as WeappWorkerConfig, Q as UserConfig, Qt as GenerateTemplateInlineSource, R as RolldownWatcher, Rn as WeappViteHostMeta, Rt as BuildNpmPackageMeta, Sn as SubPackageStyleEntry, St as WeappInjectWebRuntimeGlobalsConfig, T as ConfigEnv, Tn as WeappLibConfig, Tt as WeappNpmConfig, U as ComponentEntry, Ut as GenerateExtensionsOptions, V as AppEntry, Vt as CopyOptions, W as Entry, Wt as GenerateFileType, X as ProjectConfig, Xt as GenerateTemplateFactory, Y as WxmlDep, Yt as GenerateTemplateEntry, Z as SubPackageMetaValue, Zt as GenerateTemplateFileSource, _n as SharedChunkOverride, _t as WeappAutoRoutesIncludePattern, an as JsonMergeStage, at as WeappViteConfig, b as ChangeEvent, bn as SubPackageStyleConfigEntry, bt as WeappInjectRequestGlobalsTarget, cn as NpmBuildOptions, ct as EnhanceOptions, dn as NpmPluginPackageConfig, dt as MultiPlatformConfig, en as GenerateTemplatesConfig, et as WeappAnalyzeConfig, fn as NpmStrategy, ft as ScanWxmlOptions, gn as SharedChunkMode, gt as WeappAutoRoutesInclude, hn as SharedChunkDynamicImports, ht as WeappAutoRoutesConfig, in as JsonMergeFunction, it as WeappForwardConsoleLogLevel, j as ResolvedConfig, jn as WeappManagedAppTsconfigConfig, jt as WeappVueTemplateConfig, k as PluginOption, kn as WeappLibInternalDtsOptions, kt as WeappSubPackageConfig, ln as NpmDependencyPattern, lt as EnhanceWxmlOptions, mn as ResolvedAlias, mt as WeappAppPreludeMode, nn as JsonConfig, nt as WeappDebugConfig, on as JsonMergeStrategy, ot as AutoImportComponents, pn as NpmSubPackageConfig, pt as WeappAppPreludeConfig, q as ComponentsMap, qn as WeappViteRuntime, qt as GenerateTemplate, rn as JsonMergeContext, rt as WeappForwardConsoleConfig, sn as MpPlatform, st as AutoImportComponentsOption, tn as JsFormat, tt as WeappAnalyzeHistoryConfig, un as NpmMainPackageConfig, ut as HandleWxmlOptions, vn as SharedChunkStrategy, vt as WeappHmrConfig, w as ComputedDefinitions, wn as WeappLibComponentJson, wt as WeappMcpConfig, x as WeappVitePluginApi, xn as SubPackageStyleConfigObject, xt as WeappInjectWeapiConfig, yn as SubPackage, yt as WeappInjectRequestGlobalsConfig, z as ViteDevServer, zt as ChunksConfig } from "./config-CY6lHET0.mjs";
4
+ export { Alias, AliasOptions, AlipayNpmMode, AppEntry, AutoImportComponents, AutoImportComponentsOption, AutoRoutes, AutoRoutesSubPackage, BaseEntry, BindingErrorLike, BuildNpmPackageMeta, ChangeEvent, ChunksConfig, ComponentEntry, ComponentsMap, type ComputedDefinitions, type ConfigEnv, CopyGlobs, CopyOptions, EnhanceOptions, EnhanceWxmlOptions, Entry, EntryJsonFragment, GenerateDirsOptions, GenerateExtensionsOptions, GenerateFileType, GenerateFilenamesOptions, GenerateOptions, GenerateTemplate, GenerateTemplateContext, GenerateTemplateEntry, GenerateTemplateFactory, GenerateTemplateFileSource, GenerateTemplateInlineSource, GenerateTemplateScope, GenerateTemplatesConfig, HandleWxmlOptions, type InlineConfig, JsFormat, JsonConfig, JsonMergeContext, JsonMergeFunction, JsonMergeStage, JsonMergeStrategy, type MethodDefinitions, MpPlatform, MultiPlatformConfig, NpmBuildOptions, NpmDependencyPattern, NpmMainPackageConfig, NpmPluginPackageConfig, NpmStrategy, NpmSubPackageConfig, PageEntry, type Plugin, type PluginOption, ProjectConfig, type Ref, ResolvedAlias, type ResolvedConfig, type Resolver, type RolldownBuild, type RolldownOptions, type RolldownOutput, type RolldownPlugin, type RolldownPluginOption, type RolldownWatchOptions, type RolldownWatcher, ScanComponentItem, ScanWxmlOptions, SharedChunkDynamicImports, SharedChunkMode, SharedChunkOverride, SharedChunkStrategy, SubPackage, SubPackageMetaValue, SubPackageStyleConfigEntry, SubPackageStyleConfigObject, SubPackageStyleEntry, SubPackageStyleScope, UserConfig, type ViteDevServer, WeappAnalyzeBudgetConfig, WeappAnalyzeConfig, WeappAnalyzeHistoryConfig, WeappAppPreludeConfig, WeappAppPreludeMode, WeappAutoRoutesConfig, WeappAutoRoutesInclude, WeappAutoRoutesIncludePattern, WeappDebugConfig, WeappForwardConsoleConfig, WeappForwardConsoleLogLevel, WeappHmrConfig, WeappInjectRequestGlobalsConfig, WeappInjectRequestGlobalsTarget, WeappInjectWeapiConfig, WeappInjectWebRuntimeGlobalsConfig, WeappInjectWebRuntimeGlobalsTarget, WeappLibComponentJson, WeappLibConfig, WeappLibDtsOptions, WeappLibEntryContext, WeappLibFileName, WeappLibInternalDtsOptions, WeappLibVueTscOptions, WeappManagedAppTsconfigConfig, WeappManagedNodeTsconfigConfig, WeappManagedServerTsconfigConfig, WeappManagedSharedTsconfigConfig, WeappManagedTypeScriptConfig, WeappMcpConfig, WeappNpmConfig, WeappRequestRuntimeConfig, WeappRouteRule, WeappRouteRules, WeappSubPackageConfig, WeappViteConfig, type WeappViteHostMeta, WeappVitePluginApi, type WeappViteRuntime, WeappVueConfig, WeappVueTemplateConfig, WeappWebConfig, WeappWebRuntimeConfig, WeappWevuConfig, WeappWorkerConfig, WxmlDep };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "weapp-vite",
3
3
  "type": "module",
4
- "version": "6.16.14",
4
+ "version": "6.16.16",
5
5
  "description": "weapp-vite 一个现代化的小程序打包工具",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -93,53 +93,53 @@
93
93
  "@jridgewell/remapping": "^2.3.5",
94
94
  "@vercel/detect-agent": "^1.2.3",
95
95
  "@volar/typescript": "^2.4.28",
96
- "@vue/language-core": "^3.2.8",
96
+ "@vue/language-core": "^3.3.0",
97
97
  "cac": "^7.0.0",
98
98
  "chokidar": "^5.0.0",
99
99
  "comment-json": "^5.0.0",
100
100
  "fdir": "^6.5.0",
101
101
  "htmlparser2": "^12.0.0",
102
102
  "local-pkg": "^1.1.2",
103
- "lru-cache": "^11.3.6",
103
+ "lru-cache": "^11.4.0",
104
104
  "magic-string": "^0.30.21",
105
105
  "merge": "^2.1.1",
106
106
  "obug": "^2.1.1",
107
- "p-queue": "^9.2.0",
107
+ "p-queue": "^9.3.0",
108
108
  "package-manager-detector": "^1.6.0",
109
109
  "pathe": "^2.0.3",
110
110
  "picomatch": "^4.0.4",
111
111
  "postcss": "^8.5.14",
112
- "rolldown": "1.0.0",
113
- "rolldown-plugin-dts": "0.25.0",
112
+ "rolldown": "1.0.1",
113
+ "rolldown-plugin-dts": "0.25.1",
114
114
  "semver": "^7.8.0",
115
115
  "typescript": "^6.0.3",
116
- "vite": "8.0.12",
116
+ "vite": "8.0.13",
117
117
  "vite-tsconfig-paths": "^6.1.1",
118
118
  "vue": "^3.5.34",
119
- "vue-tsc": "^3.2.8",
119
+ "vue-tsc": "^3.3.0",
120
120
  "@weapp-core/constants": "^0.1.7",
121
121
  "@weapp-core/init": "6.0.8",
122
122
  "@weapp-core/logger": "3.1.1",
123
123
  "@weapp-core/schematics": "6.0.4",
124
124
  "@weapp-core/shared": "3.0.4",
125
- "@weapp-vite/ast": "6.16.14",
125
+ "@weapp-vite/ast": "6.16.16",
126
126
  "@weapp-vite/mcp": "1.3.3",
127
127
  "@weapp-vite/miniprogram-automator": "1.1.1",
128
128
  "@weapp-vite/volar": "2.1.0",
129
- "@weapp-vite/web": "1.3.20",
130
- "@wevu/api": "0.2.8",
131
- "@wevu/web-apis": "1.2.12",
132
- "rolldown-require": "2.0.15",
129
+ "@weapp-vite/web": "1.3.21",
130
+ "@wevu/api": "0.2.9",
131
+ "@wevu/web-apis": "1.2.13",
132
+ "rolldown-require": "2.0.16",
133
133
  "vite-plugin-performance": "2.0.1",
134
134
  "weapp-ide-cli": "5.2.10",
135
- "wevu": "6.16.14"
135
+ "wevu": "6.16.16"
136
136
  },
137
137
  "publishConfig": {
138
138
  "access": "public",
139
139
  "registry": "https://registry.npmjs.org"
140
140
  },
141
141
  "devDependencies": {
142
- "oxc-parser": "^0.130.0",
142
+ "oxc-parser": "^0.132.0",
143
143
  "oxc-walker": "^1.0.0",
144
144
  "tailwindcss": "^4.3.0",
145
145
  "ts-morph": "^28.0.0"
@@ -1,2 +0,0 @@
1
- import { t as extractConfigFromVue } from "./file-HUd9lLNU.mjs";
2
- export { extractConfigFromVue };
@@ -1,2 +0,0 @@
1
- import { i as getCompilerContext } from "./createContext-CzGWJpCw.mjs";
2
- export { getCompilerContext };