weapp-vite 6.16.30 → 6.16.32

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-wBxmdc_3.mjs";
1
+ import { g as getRouteRuntimeGlobalKeys, i as getCompilerContext } from "./createContext-C6Y1RyQR.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 createCjsConfigLoadError, E as isPathInside, S as parseCommentJson, T as shouldPassPlatformArgToIdeOpen, _ as createBuildScopeConfigFromCli, b as getProjectConfigFileName, 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 resolveWeappConfigFile, w as getDefaultIdeProjectRoot, x as loadViteConfigFile, y as checkRuntime } from "./createContext-wBxmdc_3.mjs";
1
+ import { C as createCjsConfigLoadError, E as isPathInside, S as parseCommentJson, T as shouldPassPlatformArgToIdeOpen, _ as createBuildScopeConfigFromCli, b as getProjectConfigFileName, 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 resolveWeappConfigFile, w as getDefaultIdeProjectRoot, x as loadViteConfigFile, y as checkRuntime } from "./createContext-C6Y1RyQR.mjs";
2
2
  import { r as logger_default, t as colors } from "./logger-mt4mSTqV.mjs";
3
- import { h as VERSION } from "./file-DgdYQ44n.mjs";
3
+ import { h as VERSION } from "./file-CWZk0rM_.mjs";
4
4
  import { o as resolveWeappMcpConfig, s as startWeappViteMcpServer } from "./mcp-qmDOTH07.mjs";
5
5
  import { createRequire } from "node:module";
6
6
  import path, { posix } from "pathe";
@@ -3708,7 +3708,7 @@ function resolveRunnableHotkeyDefinition(input) {
3708
3708
  }
3709
3709
  //#endregion
3710
3710
  //#region package.json
3711
- var version = "6.16.30";
3711
+ var version = "6.16.32";
3712
3712
  //#endregion
3713
3713
  //#region src/cli/devHotkeys/format.ts
3714
3714
  const FULLWIDTH_ASCII_START = 65281;
@@ -1,6 +1,6 @@
1
1
  import { n as applyWeappViteHostMeta } from "./pluginHost--CaeyWpA.mjs";
2
2
  import { n as configureLogger, r as logger_default } from "./logger-mt4mSTqV.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-DgdYQ44n.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-CWZk0rM_.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";
@@ -14,7 +14,7 @@ import fs$1, { existsSync, readFileSync } from "node:fs";
14
14
  import { parse } from "vue/compiler-sfc";
15
15
  import { BABEL_TS_MODULE_PARSER_OPTIONS, generate, getVisitorKeys, parse as parse$2, parseJsLike, traverse } from "@weapp-vite/ast/babel";
16
16
  import pm from "picomatch";
17
- import { VUE_COMPONENT_TAG_RE, WE_VU_MODULE_ID, WE_VU_RUNTIME_APIS, buildClassStyleComputedCode, collectVueTemplateTags, compileJsxFile, compileVueFile, createJsonMerger, createPageEntryMatcher, createPageEntryMatcher as createPageEntryMatcher$1, getClassStyleWxsSource, getMiniProgramTemplatePlatform, getSfcCheckMtime, injectWevuPageFeaturesInJsWithResolver, invalidateFileCache, isAutoImportCandidateTag, isBuiltinComponent, pathExists, readAndParseSfc, readFile as readFile$1, resolveClassStyleWxsLocation, stripJsonMacroCallsFromCode } from "wevu/compiler";
17
+ import { VUE_COMPONENT_TAG_RE, WE_VU_INTERNAL_REACTIVITY_MODULE_ID, WE_VU_INTERNAL_RUNTIME_MODULE_ID, WE_VU_INTERNAL_TEMPLATE_MODULE_ID, WE_VU_RUNTIME_APIS, buildClassStyleComputedCode, collectVueTemplateTags, compileJsxFile, compileVueFile, createJsonMerger, createPageEntryMatcher, createPageEntryMatcher as createPageEntryMatcher$1, getClassStyleWxsSource, getMiniProgramTemplatePlatform, getSfcCheckMtime, injectWevuPageFeaturesInJsWithResolver, invalidateFileCache, isAutoImportCandidateTag, isBuiltinComponent, pathExists, readAndParseSfc, readFile as readFile$1, resolveClassStyleWxsLocation, stripJsonMacroCallsFromCode } from "wevu/compiler";
18
18
  import process from "node:process";
19
19
  import { parse as parse$1, stringify } from "comment-json";
20
20
  import fs$2, { appendFile, copyFile, mkdir, readFile, readdir, rm } from "node:fs/promises";
@@ -5324,7 +5324,8 @@ function createRegistryHelpers(state) {
5324
5324
  },
5325
5325
  value: {
5326
5326
  name: componentName,
5327
- from
5327
+ from,
5328
+ resolvedId: resolvedJsEntry
5328
5329
  }
5329
5330
  });
5330
5331
  state.scheduleManifestWrite(true);
@@ -11697,6 +11698,27 @@ const PACKAGE_ALIASES = [
11697
11698
  devDistEntry: "dist/dev/compiler.mjs",
11698
11699
  fallbackWorkspacePackagePath: WEVU_WORKSPACE_PACKAGE_PATH
11699
11700
  },
11701
+ {
11702
+ find: "wevu/internal-runtime",
11703
+ packageName: "wevu",
11704
+ distEntry: "dist/internal-runtime.mjs",
11705
+ devDistEntry: "dist/dev/internal-runtime.mjs",
11706
+ fallbackWorkspacePackagePath: WEVU_WORKSPACE_PACKAGE_PATH
11707
+ },
11708
+ {
11709
+ find: "wevu/internal-reactivity",
11710
+ packageName: "wevu",
11711
+ distEntry: "dist/internal-reactivity.mjs",
11712
+ devDistEntry: "dist/dev/internal-reactivity.mjs",
11713
+ fallbackWorkspacePackagePath: WEVU_WORKSPACE_PACKAGE_PATH
11714
+ },
11715
+ {
11716
+ find: "wevu/internal-template",
11717
+ packageName: "wevu",
11718
+ distEntry: "dist/internal-template.mjs",
11719
+ devDistEntry: "dist/dev/internal-template.mjs",
11720
+ fallbackWorkspacePackagePath: WEVU_WORKSPACE_PACKAGE_PATH
11721
+ },
11700
11722
  {
11701
11723
  find: "wevu/jsx-runtime",
11702
11724
  packageName: "wevu",
@@ -13329,10 +13351,18 @@ function ensureScriptlessComponentAsset(pluginCtx, bundle, relativeBase, scriptE
13329
13351
  }
13330
13352
  //#endregion
13331
13353
  //#region src/plugins/vue/transform/emitAssets.ts
13332
- const emittedAssetSourceCache = /* @__PURE__ */ new Map();
13354
+ let emittedAssetSourceCacheByBundle = /* @__PURE__ */ new WeakMap();
13333
13355
  function hasOwn$4(source, key) {
13334
13356
  return Object.prototype.hasOwnProperty.call(source, key);
13335
13357
  }
13358
+ function getEmittedAssetSourceCache(bundle) {
13359
+ let cache = emittedAssetSourceCacheByBundle.get(bundle);
13360
+ if (!cache) {
13361
+ cache = /* @__PURE__ */ new Map();
13362
+ emittedAssetSourceCacheByBundle.set(bundle, cache);
13363
+ }
13364
+ return cache;
13365
+ }
13336
13366
  /**
13337
13367
  * 统一拼接 SFC 相关产物文件名。
13338
13368
  */
@@ -13350,6 +13380,7 @@ function parseJsonSafely$2(source) {
13350
13380
  function emitSfcTemplateIfMissing(ctx, bundle, relativeBase, template, extension = "wxml") {
13351
13381
  const fileName = resolveSfcAssetFileName(relativeBase, extension);
13352
13382
  const cacheKey = `asset:${fileName}`;
13383
+ const emittedAssetSourceCache = getEmittedAssetSourceCache(bundle);
13353
13384
  const existing = bundle[fileName];
13354
13385
  if (existing && existing.type === "asset") {
13355
13386
  if ((existing.source?.toString?.() ?? "") !== template) existing.source = template;
@@ -13367,6 +13398,7 @@ function emitSfcTemplateIfMissing(ctx, bundle, relativeBase, template, extension
13367
13398
  function emitSfcStyleIfMissing(ctx, bundle, relativeBase, style, extension = "wxss", options) {
13368
13399
  const fileName = resolveSfcAssetFileName(relativeBase, extension);
13369
13400
  const cacheKey = `asset:${fileName}`;
13401
+ const emittedAssetSourceCache = getEmittedAssetSourceCache(bundle);
13370
13402
  const existing = bundle[fileName];
13371
13403
  if (existing && existing.type === "asset") {
13372
13404
  if (options?.updateExisting === false) {
@@ -13388,6 +13420,7 @@ function emitSfcStyleIfMissing(ctx, bundle, relativeBase, style, extension = "wx
13388
13420
  function emitSfcJsonAsset(ctx, bundle, relativeBase, result, options) {
13389
13421
  const jsonFileName = resolveSfcAssetFileName(relativeBase, options.extension ?? "json");
13390
13422
  const cacheKey = `asset:${jsonFileName}`;
13423
+ const emittedAssetSourceCache = getEmittedAssetSourceCache(bundle);
13391
13424
  const existing = bundle[jsonFileName];
13392
13425
  const mergeJson = createJsonMerger(options.mergeStrategy, {
13393
13426
  filename: jsonFileName,
@@ -13443,6 +13476,7 @@ function emitSfcJsonAsset(ctx, bundle, relativeBase, result, options) {
13443
13476
  function emitClassStyleWxsAssetIfMissing(ctx, bundle, fileName, source) {
13444
13477
  const existing = bundle[fileName];
13445
13478
  const cacheKey = `asset:${fileName}`;
13479
+ const emittedAssetSourceCache = getEmittedAssetSourceCache(bundle);
13446
13480
  if (existing && existing.type === "asset") {
13447
13481
  if ((existing.source?.toString?.() ?? "") !== source) existing.source = source;
13448
13482
  emittedAssetSourceCache.set(cacheKey, source);
@@ -14145,13 +14179,19 @@ function createAutoImportPlugin(state) {
14145
14179
  pollInterval: 20
14146
14180
  }
14147
14181
  }));
14148
- watcher.on("add", (filePath) => {
14182
+ const registerAndRefreshComponent = (filePath, action) => {
14149
14183
  if (!getAutoImportCandidateKind(filePath)) return;
14150
14184
  if (!matchesAutoImportGlobs(ctx, filePath)) return;
14151
- logger_default.info(`[auto-import:watch] 新增组件文件 ${configService.relativeCwd(filePath)}`);
14185
+ logger_default.info(`[auto-import:watch] ${action}组件文件 ${configService.relativeCwd(filePath)}`);
14152
14186
  autoImportService.registerPotentialComponent(filePath).then(async () => {
14153
14187
  await refreshAutoImportImporters(ctx, filePath);
14154
14188
  });
14189
+ };
14190
+ watcher.on("add", (filePath) => {
14191
+ registerAndRefreshComponent(filePath, "新增");
14192
+ });
14193
+ watcher.on("change", (filePath) => {
14194
+ registerAndRefreshComponent(filePath, "变更");
14155
14195
  });
14156
14196
  watcher.on("unlink", (filePath) => {
14157
14197
  if (!getAutoImportCandidateKind(filePath)) return;
@@ -14460,14 +14500,20 @@ function createAutoImportAugmenter(autoImportService, wxmlService, externalCompo
14460
14500
  })();
14461
14501
  const injectedEntries = [];
14462
14502
  for (const [name, resolved] of Object.entries(resolvedComponents)) {
14503
+ const trackResolvedId = () => {
14504
+ if (resolved.resolvedId) externalComponentEntryMap?.set(resolved.from.replace(/^\/+/, ""), resolved.resolvedId);
14505
+ };
14463
14506
  const usingComponents = get(json, "usingComponents");
14464
14507
  if (isObject(usingComponents) && Reflect.has(usingComponents, name)) {
14465
- if (usingComponents[name] === resolved.from) injectedEntries.push(resolved.from);
14508
+ if (usingComponents[name] === resolved.from) {
14509
+ trackResolvedId();
14510
+ injectedEntries.push(resolved.from);
14511
+ }
14466
14512
  continue;
14467
14513
  }
14468
14514
  set(json, `usingComponents.${name}`, resolved.from);
14469
14515
  injectedEntries.push(resolved.from);
14470
- if (resolved.resolvedId) externalComponentEntryMap?.set(resolved.from.replace(/^\/+/, ""), resolved.resolvedId);
14516
+ trackResolvedId();
14471
14517
  }
14472
14518
  return injectedEntries;
14473
14519
  };
@@ -15776,7 +15822,7 @@ function prepareNormalizedEntries(options) {
15776
15822
  return normalizedEntries;
15777
15823
  }
15778
15824
  async function emitEntryOutput(options) {
15779
- const { pluginCtx, id, type, json: initialJson, jsonPath, templatePath, isPluginBuild, normalizedEntries, pluginResolvedRecords, pluginJsonPathForRegistration, pluginJsonForRegistration, resolveEntriesWithCache, resolveMappedEntry, entryResolveRoot, configService, wxmlService, resolvedEntryMap, loadedEntrySet, dirtyEntrySet, forceEmitEntrySet, replaceLayoutDependencies, emitEntriesChunks, registerJsonAsset, existsCache, pathExistsTtlMs, debug, relativeCwdId, getTime, emittedWxmlCodeCache } = options;
15825
+ const { pluginCtx, id, type, json: initialJson, jsonPath, templatePath, isPluginBuild, normalizedEntries, pluginResolvedRecords, pluginJsonPathForRegistration, pluginJsonForRegistration, resolveEntriesWithCache, resolveMappedEntry, entryResolveRoot, configService, wxmlService, resolvedEntryMap, loadedEntrySet, dirtyEntrySet, forceEmitEntrySet, forceReloadEntrySet, replaceLayoutDependencies, emitEntriesChunks, registerJsonAsset, existsCache, pathExistsTtlMs, debug, relativeCwdId, getTime, emittedWxmlCodeCache } = options;
15780
15826
  let json = initialJson;
15781
15827
  async function emitNativeLayoutAssets(layoutBasePath) {
15782
15828
  if (typeof pluginCtx.emitFile !== "function") return;
@@ -15869,8 +15915,10 @@ async function emitEntryOutput(options) {
15869
15915
  if (normalizedResolvedId && !isSkippableResolvedId(normalizedResolvedId) && path.isAbsolute(normalizedResolvedId)) addNormalizedWatchFile(pluginCtx, normalizedResolvedId);
15870
15916
  if (normalizedResolvedId && !isSkippableResolvedId(normalizedResolvedId)) resolvedEntryMap.set(normalizedResolvedId, resolvedId);
15871
15917
  const isForcedEntry = forceEmitEntrySet?.has(entry) === true || forceEmitEntrySet?.has(normalizedResolvedId) === true;
15918
+ const isForcedReloadEntry = forceReloadEntrySet?.has(entry) === true || forceReloadEntrySet?.has(normalizedResolvedId) === true;
15872
15919
  const isDirtyEntry = dirtyEntrySet.has(normalizedResolvedId);
15873
15920
  if (!isDirtyEntry && !isForcedEntry && loadedEntrySet.has(normalizedResolvedId)) continue;
15921
+ if (isForcedReloadEntry) loadedEntrySet.delete(normalizedResolvedId);
15874
15922
  pendingResolvedIds.push(resolvedId);
15875
15923
  if (isDirtyEntry || isForcedEntry) dirtyEntrySet.delete(normalizedResolvedId);
15876
15924
  }
@@ -16202,6 +16250,7 @@ function createEntryLoader(options) {
16202
16250
  let appResult;
16203
16251
  let shouldSkipAppEntries = false;
16204
16252
  const forceEmitEntrySet = /* @__PURE__ */ new Set();
16253
+ const forceReloadEntrySet = /* @__PURE__ */ new Set();
16205
16254
  const nativeLayoutScriptEntries = /* @__PURE__ */ new Set();
16206
16255
  let autoRoutesSignature = configService.isDev ? ctx.autoRoutesService?.getSignature?.() : void 0;
16207
16256
  const registerPageLayoutComponentEntries = async (layoutPlan, options) => {
@@ -16344,7 +16393,9 @@ function createEntryLoader(options) {
16344
16393
  for (const componentEntry of mergedComponentEntries) {
16345
16394
  const normalizedComponentEntry = normalizeEntry(componentEntry, jsonPath);
16346
16395
  explicitEntryTypes.set(normalizedComponentEntry, "component");
16347
- if (pendingAutoImportEntries.includes(componentEntry) || injectedAutoImportEntries.includes(componentEntry)) forceEmitEntrySet.add(normalizedComponentEntry);
16396
+ const isPendingAutoImportEntry = pendingAutoImportEntries.includes(componentEntry);
16397
+ if (isPendingAutoImportEntry || injectedAutoImportEntries.includes(componentEntry)) forceEmitEntrySet.add(normalizedComponentEntry);
16398
+ if (isPendingAutoImportEntry) forceReloadEntrySet.add(normalizedComponentEntry);
16348
16399
  }
16349
16400
  }
16350
16401
  const normalizedEntries = shouldSkipAppEntries ? [] : prepareNormalizedEntries({
@@ -16383,6 +16434,7 @@ function createEntryLoader(options) {
16383
16434
  loadedEntrySet,
16384
16435
  dirtyEntrySet,
16385
16436
  forceEmitEntrySet,
16437
+ forceReloadEntrySet,
16386
16438
  replaceLayoutDependencies,
16387
16439
  emitEntriesChunks,
16388
16440
  registerJsonAsset,
@@ -21267,12 +21319,12 @@ function buildInlineExpressionMapCode(inlineExpressions) {
21267
21319
  function buildScopedSlotComponentModule(options) {
21268
21320
  const computedCode = options?.computedCode;
21269
21321
  const inlineMapCode = options?.inlineMapCode;
21270
- const lines = [
21271
- `import { ${computedCode ? `${WE_VU_RUNTIME_APIS.createWevuScopedSlotComponent} as _createWevuScopedSlotComponent, normalizeClass as __wevuNormalizeClass, normalizeStyle as __wevuNormalizeStyle, unref as __wevuUnref` : `${WE_VU_RUNTIME_APIS.createWevuScopedSlotComponent} as _createWevuScopedSlotComponent`} } from '${WE_VU_MODULE_ID}';`,
21272
- "const globalObject = typeof globalThis !== 'undefined' ? globalThis : undefined;",
21273
- `const createWevuScopedSlotComponent = globalObject?.${WEVU_SCOPED_SLOT_CREATOR_KEY}`,
21274
- " ?? _createWevuScopedSlotComponent;"
21275
- ];
21322
+ const lines = [`import { ${WE_VU_RUNTIME_APIS.createWevuScopedSlotComponent} as _createWevuScopedSlotComponent } from '${WE_VU_INTERNAL_RUNTIME_MODULE_ID}';`];
21323
+ if (computedCode) {
21324
+ lines.push(`import { normalizeClass as __wevuNormalizeClass, normalizeStyle as __wevuNormalizeStyle } from '${WE_VU_INTERNAL_TEMPLATE_MODULE_ID}';`);
21325
+ lines.push(`import { unref as __wevuUnref } from '${WE_VU_INTERNAL_REACTIVITY_MODULE_ID}';`);
21326
+ }
21327
+ lines.push("const globalObject = typeof globalThis !== 'undefined' ? globalThis : undefined;", `const createWevuScopedSlotComponent = globalObject?.${WEVU_SCOPED_SLOT_CREATOR_KEY}`, " ?? _createWevuScopedSlotComponent;");
21276
21328
  if (computedCode) lines.push(`const __wevuComputed = ${computedCode};`);
21277
21329
  if (inlineMapCode) lines.push(`const __wevuInlineMap = ${inlineMapCode};`);
21278
21330
  const overrideParts = [];
@@ -24634,7 +24686,7 @@ async function loadAppEntry(ctx, scanState) {
24634
24686
  const vueAppPath = await findVueEntry(appBasename);
24635
24687
  let configFromVue;
24636
24688
  if (!appConfigFile && vueAppPath) {
24637
- const { extractConfigFromVue } = await import("./file-obpuUUBb.mjs");
24689
+ const { extractConfigFromVue } = await import("./file-LNJT_KVP.mjs");
24638
24690
  configFromVue = await extractConfigFromVue(vueAppPath);
24639
24691
  if (configFromVue) appConfigFile = vueAppPath;
24640
24692
  }
@@ -84,7 +84,7 @@ function resolveAutoRoutesMacroImportPath() {
84
84
  }
85
85
  async function resolveAutoRoutesInlineSnapshot() {
86
86
  try {
87
- const { getCompilerContext } = await import("./getInstance-wSKEctAH.mjs");
87
+ const { getCompilerContext } = await import("./getInstance-D6VmpAIl.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-CWZk0rM_.mjs";
2
+ export { extractConfigFromVue };
@@ -0,0 +1,2 @@
1
+ import { i as getCompilerContext } from "./createContext-C6Y1RyQR.mjs";
2
+ export { getCompilerContext };
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-BL8Dhhk6.mjs";
2
2
  import { a as resolveWeappViteHostMeta, i as isWeappViteHost, n as applyWeappViteHostMeta, r as createWeappViteHostMeta, t as WEAPP_VITE_HOST_NAME } from "./pluginHost--CaeyWpA.mjs";
3
3
  import { t as defineConfig } from "./config-DRGcCi3h.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-wBxmdc_3.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-C6Y1RyQR.mjs";
5
5
  import { i as createWevuComponent, n as defineProps, r as setPageLayout, t as defineEmits } from "./runtime-C3z9pDQB.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "weapp-vite",
3
3
  "type": "module",
4
- "version": "6.16.30",
4
+ "version": "6.16.32",
5
5
  "description": "weapp-vite 一个现代化的小程序打包工具",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -113,7 +113,7 @@
113
113
  "rolldown-plugin-dts": "0.25.2",
114
114
  "semver": "^7.8.1",
115
115
  "typescript": "^6.0.3",
116
- "vite": "8.0.14",
116
+ "vite": "8.0.16",
117
117
  "vite-tsconfig-paths": "^6.1.1",
118
118
  "vue": "^3.5.35",
119
119
  "vue-tsc": "^3.3.3",
@@ -122,7 +122,7 @@
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.30",
125
+ "@weapp-vite/ast": "6.16.32",
126
126
  "@weapp-vite/mcp": "1.3.6",
127
127
  "@weapp-vite/miniprogram-automator": "1.1.3",
128
128
  "@weapp-vite/volar": "2.1.0",
@@ -132,7 +132,7 @@
132
132
  "rolldown-require": "2.0.18",
133
133
  "vite-plugin-performance": "2.0.1",
134
134
  "weapp-ide-cli": "5.3.2",
135
- "wevu": "6.16.30"
135
+ "wevu": "6.16.32"
136
136
  },
137
137
  "publishConfig": {
138
138
  "access": "public",
@@ -1,2 +0,0 @@
1
- import { t as extractConfigFromVue } from "./file-DgdYQ44n.mjs";
2
- export { extractConfigFromVue };
@@ -1,2 +0,0 @@
1
- import { i as getCompilerContext } from "./createContext-wBxmdc_3.mjs";
2
- export { getCompilerContext };