weapp-vite 6.14.2 → 6.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { i as getCompilerContext, u as getRouteRuntimeGlobalKeys } from "./createContext-utz68GiW.mjs";
1
+ import { i as getCompilerContext, u as getRouteRuntimeGlobalKeys } from "./createContext-DZzBkyLu.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 { S as isPathInside, _ as DEFAULT_MP_PLATFORM, b as resolveMiniPlatform, c as createSharedBuildConfig, d as resolveWeappConfigFile, f as checkRuntime, g as createCjsConfigLoadError, h as parseCommentJson, l as SHARED_CHUNK_VIRTUAL_PREFIX, m as loadViteConfigFile, n as syncProjectSupportFiles, p as getProjectConfigFileName, r as syncManagedTsconfigBootstrapFiles, s as formatBytes, t as createCompilerContext, v as getDefaultIdeProjectRoot, x as shouldPassPlatformArgToIdeOpen, y as normalizeMiniPlatform } from "./createContext-utz68GiW.mjs";
1
+ import { S as isPathInside, _ as DEFAULT_MP_PLATFORM, b as resolveMiniPlatform, c as createSharedBuildConfig, d as resolveWeappConfigFile, f as checkRuntime, g as createCjsConfigLoadError, h as parseCommentJson, l as SHARED_CHUNK_VIRTUAL_PREFIX, m as loadViteConfigFile, n as syncProjectSupportFiles, p as getProjectConfigFileName, r as syncManagedTsconfigBootstrapFiles, s as formatBytes, t as createCompilerContext, v as getDefaultIdeProjectRoot, x as shouldPassPlatformArgToIdeOpen, y as normalizeMiniPlatform } from "./createContext-DZzBkyLu.mjs";
2
2
  import { r as logger_default, t as colors } from "./logger-CgxdNjvb.mjs";
3
- import { m as VERSION } from "./file-PUFdKeUd.mjs";
3
+ import { m as VERSION } from "./file-DZdM8x0_.mjs";
4
4
  import { a as resolveWeappMcpConfig, o as startWeappViteMcpServer } from "./mcp-DRlj32v4.mjs";
5
5
  import { createRequire } from "node:module";
6
6
  import { defu, fs } from "@weapp-core/shared";
@@ -960,21 +960,6 @@ async function openWechatIdeByAutomator(projectPath) {
960
960
  })).disconnect();
961
961
  }
962
962
  /**
963
- * @description 若当前项目已在微信开发者工具中打开且自动化可连通,则直接复用现有会话,避免重复拉起 IDE。
964
- */
965
- async function tryReuseOpenedWechatIde(projectPath) {
966
- try {
967
- (await connectOpenedAutomator({
968
- projectPath,
969
- timeout: 3e3
970
- })).disconnect();
971
- logger_default.info("目标项目已在微信开发者工具中打开,跳过重复打开。");
972
- return true;
973
- } catch {
974
- return false;
975
- }
976
- }
977
- /**
978
963
  * @description 执行 IDE 打开流程,并在登录失效时允许按键重试。
979
964
  */
980
965
  async function runWechatIdeOpenWithRetry(argv) {
@@ -990,7 +975,7 @@ async function runWechatIdeOpenWithRetry(argv) {
990
975
  logger_default.error("检测到微信开发者工具登录状态失效,请先登录后重试。");
991
976
  logger_default.warn(formatWechatIdeLoginRequiredError(error));
992
977
  logger_default.info(formatRetryHotkeyPrompt());
993
- if (!await waitForRetryKeypress()) {
978
+ if (await waitForRetryKeypress() !== "retry") {
994
979
  logger_default.warn("已取消重试。完成登录后请重新执行当前命令。");
995
980
  retrying = false;
996
981
  continue;
@@ -1033,20 +1018,6 @@ function resolveIdeProjectPath(mpDistRoot) {
1033
1018
  function resolveIdeProjectRoot(mpDistRoot, cwd) {
1034
1019
  return resolveIdeProjectPath(mpDistRoot) ?? cwd;
1035
1020
  }
1036
- async function openIde(platform, projectPath, options = {}) {
1037
- if (platform === "weapp" && projectPath && options.trustProject !== false) try {
1038
- if (await tryReuseOpenedWechatIde(projectPath)) return;
1039
- await openWechatIdeByAutomator(projectPath);
1040
- return;
1041
- } catch (error) {
1042
- logger_default.warn("通过 automator 启动微信开发者工具并自动信任项目失败,回退到普通 open 流程。");
1043
- logger_default.error(error);
1044
- }
1045
- const argv = ["open", "-p"];
1046
- if (projectPath) argv.push(projectPath);
1047
- if (shouldPassPlatformArgToIdeOpen(platform)) argv.push("--platform", platform);
1048
- await runWechatIdeOpenWithRetry(argv);
1049
- }
1050
1021
  async function closeIde() {
1051
1022
  const config = await getConfig();
1052
1023
  const cliPath = config.cliPath?.trim() ? config.cliPath : null;
@@ -1075,6 +1046,51 @@ async function closeIde() {
1075
1046
  return false;
1076
1047
  }
1077
1048
  }
1049
+ function formatReuseOpenedWechatIdePrompt() {
1050
+ return `目标项目已在微信开发者工具中打开,已跳过重复打开。按 ${colors.bold(colors.green("r"))} 关闭当前窗口后重新打开。`;
1051
+ }
1052
+ /**
1053
+ * @description 若当前项目已在微信开发者工具中打开且自动化可连通,则直接复用现有会话,避免重复拉起 IDE。
1054
+ */
1055
+ async function tryReuseOpenedWechatIde(projectPath) {
1056
+ let miniProgram;
1057
+ try {
1058
+ miniProgram = await connectOpenedAutomator({
1059
+ projectPath,
1060
+ timeout: 3e3
1061
+ });
1062
+ } catch {
1063
+ return null;
1064
+ }
1065
+ miniProgram.disconnect();
1066
+ logger_default.info(formatReuseOpenedWechatIdePrompt());
1067
+ if (await waitForRetryKeypress() !== "retry") return {
1068
+ reopened: false,
1069
+ reused: true
1070
+ };
1071
+ logger_default.info(colors.bold(colors.green("正在关闭当前已打开项目,并重新拉起微信开发者工具...")));
1072
+ if (!await closeIde()) logger_default.warn("关闭当前微信开发者工具失败,仍继续尝试重新打开目标项目。");
1073
+ await openWechatIdeByAutomator(projectPath);
1074
+ return {
1075
+ reopened: true,
1076
+ reused: false
1077
+ };
1078
+ }
1079
+ async function openIde(platform, projectPath, options = {}) {
1080
+ if (platform === "weapp" && projectPath && options.trustProject !== false) try {
1081
+ const reuseResult = await tryReuseOpenedWechatIde(projectPath);
1082
+ if (reuseResult?.reused || reuseResult?.reopened) return;
1083
+ await openWechatIdeByAutomator(projectPath);
1084
+ return;
1085
+ } catch (error) {
1086
+ logger_default.warn("通过 automator 启动微信开发者工具并自动信任项目失败,回退到普通 open 流程。");
1087
+ logger_default.error(error);
1088
+ }
1089
+ const argv = ["open", "-p"];
1090
+ if (projectPath) argv.push(projectPath);
1091
+ if (platform && shouldPassPlatformArgToIdeOpen(platform)) argv.push("--platform", platform);
1092
+ await runWechatIdeOpenWithRetry(argv);
1093
+ }
1078
1094
  /**
1079
1095
  * @description 解析 IDE 相关命令所需的平台、项目目录与配置上下文。
1080
1096
  */
@@ -1959,7 +1975,7 @@ async function handleDoctor(clientName, options) {
1959
1975
  logger_default.success("MCP 客户端配置检查通过。");
1960
1976
  }
1961
1977
  async function handleServer(options) {
1962
- const resolvedTransport = options.transport === "http" ? "streamable-http" : options.transport;
1978
+ const resolvedTransport = options.transport === "http" ? "streamable-http" : options.transport === "command" ? void 0 : options.transport;
1963
1979
  await startWeappViteMcpServer({
1964
1980
  endpoint: options.endpoint,
1965
1981
  host: options.host,
@@ -2052,7 +2068,7 @@ function registerPrepareCommand(cli) {
2052
2068
  }
2053
2069
  //#endregion
2054
2070
  //#region package.json
2055
- var version = "6.14.2";
2071
+ var version = "6.15.0";
2056
2072
  //#endregion
2057
2073
  //#region src/cli/devHotkeys.ts
2058
2074
  const DEV_SCREENSHOT_DIR = ".weapp-vite/dev-screenshots";
@@ -2347,7 +2363,7 @@ function startDevHotkeys(options) {
2347
2363
  const handleInputOnce = (input, source) => {
2348
2364
  const normalizedInput = normalizeInputChar(input);
2349
2365
  const now = Date.now();
2350
- for (const [token, timestamp] of recentInputs) if (now - timestamp > HOTKEY_DEDUP_WINDOW_MS) recentInputs.delete(token);
2366
+ for (const [token, timestamp] of recentInputs) if (now - Number(timestamp.split(":")[1] ?? 0) > HOTKEY_DEDUP_WINDOW_MS) recentInputs.delete(token);
2351
2367
  const dedupKey = normalizedInput;
2352
2368
  const recentEntry = recentInputs.get(dedupKey);
2353
2369
  if (recentEntry !== void 0) {
@@ -2503,21 +2519,12 @@ function registerServeCommand(cli) {
2503
2519
  }
2504
2520
  };
2505
2521
  if (targets.runMini) {
2506
- const buildWatch = typeof inlineConfig?.build?.watch === "object" && inlineConfig.build.watch ? inlineConfig.build.watch : {};
2507
- const buildChokidar = "chokidar" in buildWatch ? buildWatch.chokidar : void 0;
2508
2522
  const existingServer = inlineConfig?.server ?? {};
2509
2523
  inlineConfig = {
2510
2524
  ...inlineConfig,
2511
2525
  build: {
2512
2526
  ...inlineConfig?.build ?? {},
2513
- watch: {
2514
- ...buildWatch,
2515
- chokidar: {
2516
- ...buildChokidar ?? {},
2517
- usePolling: true,
2518
- interval: 100
2519
- }
2520
- }
2527
+ watch: typeof inlineConfig?.build?.watch === "object" && inlineConfig.build.watch ? { ...inlineConfig.build.watch } : {}
2521
2528
  },
2522
2529
  server: {
2523
2530
  ...existingServer,
@@ -2547,9 +2554,9 @@ function registerServeCommand(cli) {
2547
2554
  let analyzeRunId = 0;
2548
2555
  const devHotkeysSession = targets.runMini ? startDevHotkeys({
2549
2556
  cwd: configService.cwd,
2550
- mcpConfig: configService.weappViteConfig?.weapp?.mcp,
2557
+ mcpConfig: configService.weappViteConfig?.mcp,
2551
2558
  platform: configService.platform,
2552
- projectPath: resolveIdeProjectRoot(configService.mpDistRoot, configService.cwd),
2559
+ projectPath: resolveIdeProjectRoot(configService.mpDistRoot, configService.cwd) ?? configService.cwd,
2553
2560
  silentStartupHint: true
2554
2561
  }) : void 0;
2555
2562
  try {
@@ -260,14 +260,16 @@ interface BuildNpmPackageMeta {
260
260
  name: string;
261
261
  entry: InputOption;
262
262
  }
263
+ type NpmDependencyPattern = string | RegExp;
264
+ type NpmStrategy = 'explicit' | 'legacy';
263
265
  interface NpmSubPackageConfig {
264
- dependencies?: (string | RegExp)[];
266
+ dependencies?: NpmDependencyPattern[];
265
267
  }
266
268
  interface NpmMainPackageConfig {
267
- dependencies?: false | (string | RegExp)[];
269
+ dependencies?: false | NpmDependencyPattern[];
268
270
  }
269
271
  interface NpmPluginPackageConfig {
270
- dependencies?: false | (string | RegExp)[];
272
+ dependencies?: false | NpmDependencyPattern[];
271
273
  }
272
274
  type JsFormat = 'cjs' | 'esm';
273
275
  type SharedChunkStrategy = 'hoist' | 'duplicate';
@@ -422,6 +424,15 @@ interface WeappInjectRequestGlobalsConfig {
422
424
  enabled?: boolean;
423
425
  targets?: WeappInjectRequestGlobalsTarget[];
424
426
  dependencies?: (string | RegExp)[];
427
+ prelude?: boolean;
428
+ }
429
+ type WeappAppPreludeMode = 'inline' | 'entry' | 'require';
430
+ /**
431
+ * @description `app.prelude` 前置注入配置
432
+ */
433
+ interface WeappAppPreludeConfig {
434
+ enabled?: boolean;
435
+ mode?: WeappAppPreludeMode;
425
436
  }
426
437
  /**
427
438
  * @description 本地 npm 构建配置
@@ -429,6 +440,8 @@ interface WeappInjectRequestGlobalsConfig {
429
440
  interface WeappNpmConfig {
430
441
  enable?: boolean;
431
442
  cache?: boolean;
443
+ strategy?: NpmStrategy;
444
+ include?: NpmDependencyPattern[];
432
445
  mainPackage?: NpmMainPackageConfig;
433
446
  pluginPackage?: NpmPluginPackageConfig;
434
447
  subPackages?: Record<string, NpmSubPackageConfig>;
@@ -464,6 +477,7 @@ interface WeappWorkerConfig {
464
477
  interface WeappVueTemplateConfig {
465
478
  removeComments?: boolean;
466
479
  simplifyWhitespace?: boolean;
480
+ htmlTagToWxml?: boolean | Record<string, string>;
467
481
  scopedSlotsCompiler?: 'auto' | 'augmented' | 'off';
468
482
  scopedSlotsRequireProps?: boolean;
469
483
  slotMultipleInstance?: boolean;
@@ -605,6 +619,7 @@ interface WeappViteConfig {
605
619
  vue?: WeappVueConfig;
606
620
  wevu?: WeappWevuConfig;
607
621
  routeRules?: WeappRouteRules;
622
+ appPrelude?: boolean | WeappAppPreludeConfig;
608
623
  injectWeapi?: boolean | WeappInjectWeapiConfig;
609
624
  injectRequestGlobals?: boolean | WeappInjectRequestGlobalsConfig;
610
625
  mcp?: boolean | WeappMcpConfig;
@@ -660,6 +675,7 @@ type Entry = AppEntry | PageEntry | ComponentEntry;
660
675
  */
661
676
  interface AppEntry extends BaseEntry {
662
677
  type: 'app';
678
+ preludePath?: string;
663
679
  themeJsonPath?: string;
664
680
  themeJson?: Theme;
665
681
  sitemapJsonPath?: string;
@@ -1399,7 +1415,9 @@ interface WxmlService {
1399
1415
  getAllDeps: () => Set<string>;
1400
1416
  getAggregatedComponents: (filepathOrBaseName: string) => ComponentsMap | undefined;
1401
1417
  getAggregatedAutoImportComponents: (filepathOrBaseName: string) => ComponentsMap | undefined;
1402
- clearAll: () => void;
1418
+ clearAll: (options?: {
1419
+ clearEmittedCode?: boolean;
1420
+ }) => void;
1403
1421
  analyze: (wxml: string) => ScanWxmlResult;
1404
1422
  scan: (filepath: string) => Promise<ScanWxmlResult | undefined>;
1405
1423
  setWxmlComponentsMap: (absPath: string, components: ComponentsMap) => void;
@@ -1525,4 +1543,4 @@ declare function defineConfig(config: UserConfigFnObjectPlain): UserConfigFnObje
1525
1543
  declare function defineConfig(config: UserConfigFn): UserConfigFn;
1526
1544
  declare function defineConfig(config: UserConfigFnPromise): UserConfigFnPromise;
1527
1545
  //#endregion
1528
- export { WeappDebugConfig as $, NpmBuildOptions as $t, Ref as A, createWeappViteHostMeta as An, ChunksConfig as At, BindingErrorLike as B, GenerateTemplateEntry as Bt, LoadConfigOptions as C, WeappManagedSharedTsconfigConfig as Cn, WeappVueTemplateConfig as Ct, MethodDefinitions$1 as D, WeappViteHostMeta as Dn, AliasOptions as Dt, InlineConfig$1 as E, WEAPP_VITE_HOST_NAME as En, Alias as Et, RolldownPlugin as F, GenerateFileType as Ft, EntryJsonFragment as G, GenerateTemplatesConfig as Gt, BaseEntry as H, GenerateTemplateFileSource as Ht, RolldownPluginOption as I, GenerateFilenamesOptions as It, ScanComponentItem as J, JsonMergeContext as Jt, PageEntry as K, JsFormat as Kt, RolldownWatchOptions as L, GenerateOptions as Lt, RolldownBuild as M, resolveWeappViteHostMeta as Mn, CopyOptions as Mt, RolldownOptions as N, GenerateDirsOptions as Nt, Plugin$1 as O, WeappViteRuntime as On, AlipayNpmMode as Ot, RolldownOutput$1 as P, GenerateExtensionsOptions as Pt, UserConfig$2 as Q, MpPlatform as Qt, RolldownWatcher$1 as R, GenerateTemplate as Rt, CompilerContext as S, WeappManagedServerTsconfigConfig as Sn, WeappVueConfig as St, ConfigEnv$1 as T, WeappWebConfig as Tn, WeappWorkerConfig as Tt, ComponentEntry as U, GenerateTemplateInlineSource as Ut, AppEntry as V, GenerateTemplateFactory as Vt, Entry as W, GenerateTemplateScope as Wt, ProjectConfig as X, JsonMergeStage as Xt, WxmlDep as Y, JsonMergeFunction as Yt, SubPackageMetaValue as Z, JsonMergeStrategy as Zt, definePageJson as _, WeappLibFileName as _n, WeappMcpConfig as _t, UserConfigFnNoEnvPlain as a, SharedChunkMode as an, EnhanceOptions as at, ChangeEvent as b, WeappManagedAppTsconfigConfig as bn, WeappRouteRules as bt, UserConfigFnPromise as c, SubPackage as cn, MultiPlatformConfig as ct, Component$1 as d, SubPackageStyleEntry as dn, WeappAutoRoutesInclude as dt, NpmMainPackageConfig as en, WeappForwardConsoleConfig as et, Page$1 as f, SubPackageStyleScope as fn, WeappAutoRoutesIncludePattern as ft, defineComponentJson as g, WeappLibEntryContext as gn, WeappInjectWeapiConfig as gt, defineAppJson as h, WeappLibDtsOptions as hn, WeappInjectRequestGlobalsTarget as ht, UserConfigFnNoEnv as i, SharedChunkDynamicImports as in, AutoImportComponentsOption as it, ResolvedConfig as j, isWeappViteHost as jn, CopyGlobs as jt, PluginOption as k, applyWeappViteHostMeta as kn, BuildNpmPackageMeta as kt, defineConfig as l, SubPackageStyleConfigEntry as ln, ScanWxmlOptions as lt, Theme$1 as m, WeappLibConfig as mn, WeappInjectRequestGlobalsConfig as mt, UserConfigExport as n, NpmSubPackageConfig as nn, WeappViteConfig as nt, UserConfigFnObject as o, SharedChunkOverride as on, EnhanceWxmlOptions as ot, Sitemap$1 as p, WeappLibComponentJson as pn, WeappHmrConfig as pt, ComponentsMap as q, JsonConfig as qt, UserConfigFn as r, ResolvedAlias as rn, AutoImportComponents as rt, UserConfigFnObjectPlain as s, SharedChunkStrategy as sn, HandleWxmlOptions as st, UserConfig$1 as t, NpmPluginPackageConfig as tn, WeappForwardConsoleLogLevel as tt, App$1 as u, SubPackageStyleConfigObject as un, WeappAutoRoutesConfig as ut, defineSitemapJson as v, WeappLibInternalDtsOptions as vn, WeappNpmConfig as vt, ComputedDefinitions$1 as w, WeappManagedTypeScriptConfig as wn, WeappWevuConfig as wt, WeappVitePluginApi as x, WeappManagedNodeTsconfigConfig as xn, WeappSubPackageConfig as xt, defineThemeJson as y, WeappLibVueTscOptions as yn, WeappRouteRule as yt, ViteDevServer$1 as z, GenerateTemplateContext as zt };
1546
+ export { WeappDebugConfig as $, JsonMergeStrategy as $t, Ref as A, WEAPP_VITE_HOST_NAME as An, AlipayNpmMode as At, BindingErrorLike as B, GenerateTemplate as Bt, LoadConfigOptions as C, WeappLibVueTscOptions as Cn, WeappSubPackageConfig as Ct, MethodDefinitions$1 as D, WeappManagedSharedTsconfigConfig as Dn, WeappWorkerConfig as Dt, InlineConfig$1 as E, WeappManagedServerTsconfigConfig as En, WeappWevuConfig as Et, RolldownPlugin as F, isWeappViteHost as Fn, GenerateDirsOptions as Ft, EntryJsonFragment as G, GenerateTemplateInlineSource as Gt, BaseEntry as H, GenerateTemplateEntry as Ht, RolldownPluginOption as I, resolveWeappViteHostMeta as In, GenerateExtensionsOptions as It, ScanComponentItem as J, JsFormat as Jt, PageEntry as K, GenerateTemplateScope as Kt, RolldownWatchOptions as L, GenerateFileType as Lt, RolldownBuild as M, WeappViteRuntime as Mn, ChunksConfig as Mt, RolldownOptions as N, applyWeappViteHostMeta as Nn, CopyGlobs as Nt, Plugin$1 as O, WeappManagedTypeScriptConfig as On, Alias as Ot, RolldownOutput$1 as P, createWeappViteHostMeta as Pn, CopyOptions as Pt, UserConfig$2 as Q, JsonMergeStage as Qt, RolldownWatcher$1 as R, GenerateFilenamesOptions as Rt, CompilerContext as S, WeappLibInternalDtsOptions as Sn, WeappRouteRules as St, ConfigEnv$1 as T, WeappManagedNodeTsconfigConfig as Tn, WeappVueTemplateConfig as Tt, ComponentEntry as U, GenerateTemplateFactory as Ut, AppEntry as V, GenerateTemplateContext as Vt, Entry as W, GenerateTemplateFileSource as Wt, ProjectConfig as X, JsonMergeContext as Xt, WxmlDep as Y, JsonConfig as Yt, SubPackageMetaValue as Z, JsonMergeFunction as Zt, definePageJson as _, WeappLibComponentJson as _n, WeappInjectRequestGlobalsTarget as _t, UserConfigFnNoEnvPlain as a, NpmStrategy as an, EnhanceOptions as at, ChangeEvent as b, WeappLibEntryContext as bn, WeappNpmConfig as bt, UserConfigFnPromise as c, SharedChunkDynamicImports as cn, MultiPlatformConfig as ct, Component$1 as d, SharedChunkStrategy as dn, WeappAppPreludeMode as dt, MpPlatform as en, WeappForwardConsoleConfig as et, Page$1 as f, SubPackage as fn, WeappAutoRoutesConfig as ft, defineComponentJson as g, SubPackageStyleScope as gn, WeappInjectRequestGlobalsConfig as gt, defineAppJson as h, SubPackageStyleEntry as hn, WeappHmrConfig as ht, UserConfigFnNoEnv as i, NpmPluginPackageConfig as in, AutoImportComponentsOption as it, ResolvedConfig as j, WeappViteHostMeta as jn, BuildNpmPackageMeta as jt, PluginOption as k, WeappWebConfig as kn, AliasOptions as kt, defineConfig as l, SharedChunkMode as ln, ScanWxmlOptions as lt, Theme$1 as m, SubPackageStyleConfigObject as mn, WeappAutoRoutesIncludePattern as mt, UserConfigExport as n, NpmDependencyPattern as nn, WeappViteConfig as nt, UserConfigFnObject as o, NpmSubPackageConfig as on, EnhanceWxmlOptions as ot, Sitemap$1 as p, SubPackageStyleConfigEntry as pn, WeappAutoRoutesInclude as pt, ComponentsMap as q, GenerateTemplatesConfig as qt, UserConfigFn as r, NpmMainPackageConfig as rn, AutoImportComponents as rt, UserConfigFnObjectPlain as s, ResolvedAlias as sn, HandleWxmlOptions as st, UserConfig$1 as t, NpmBuildOptions as tn, WeappForwardConsoleLogLevel as tt, App$1 as u, SharedChunkOverride as un, WeappAppPreludeConfig as ut, defineSitemapJson as v, WeappLibConfig as vn, WeappInjectWeapiConfig as vt, ComputedDefinitions$1 as w, WeappManagedAppTsconfigConfig as wn, WeappVueConfig as wt, WeappVitePluginApi as x, WeappLibFileName as xn, WeappRouteRule as xt, defineThemeJson as y, WeappLibDtsOptions as yn, WeappMcpConfig as yt, ViteDevServer$1 as z, GenerateOptions as zt };
package/dist/config.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { An as createWeappViteHostMeta, Dn as WeappViteHostMeta, En as WEAPP_VITE_HOST_NAME, Mn as resolveWeappViteHostMeta, On as WeappViteRuntime, _ as definePageJson, a as UserConfigFnNoEnvPlain, c as UserConfigFnPromise, d as Component, f as Page, g as defineComponentJson, h as defineAppJson, i as UserConfigFnNoEnv, jn as isWeappViteHost, kn as applyWeappViteHostMeta, l as defineConfig, m as Theme, n as UserConfigExport, nt as WeappViteConfig, o as UserConfigFnObject, p as Sitemap, r as UserConfigFn, s as UserConfigFnObjectPlain, t as UserConfig, u as App, v as defineSitemapJson, y as defineThemeJson } from "./config-BHVrIbhx.mjs";
1
+ import { An as WEAPP_VITE_HOST_NAME, Fn as isWeappViteHost, In as resolveWeappViteHostMeta, Mn as WeappViteRuntime, Nn as applyWeappViteHostMeta, Pn as createWeappViteHostMeta, _ as definePageJson, a as UserConfigFnNoEnvPlain, c as UserConfigFnPromise, d as Component, f as Page, g as defineComponentJson, h as defineAppJson, i as UserConfigFnNoEnv, jn as WeappViteHostMeta, l as defineConfig, m as Theme, n as UserConfigExport, nt as WeappViteConfig, o as UserConfigFnObject, p as Sitemap, r as UserConfigFn, s as UserConfigFnObjectPlain, t as UserConfig, u as App, v as defineSitemapJson, y as defineThemeJson } from "./config-c4UHLLoh.mjs";
2
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 };