weapp-vite 7.11.0-dev.20261112.3 → 7.11.0-dev.20261113.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{action-DeajKS3B.mjs → action-BXRyW6u3.mjs} +2 -2
- package/dist/{action-C-pBbqJK.mjs → action-Bq0uJvXJ.mjs} +1 -1
- package/dist/{action-BzbhWOja.mjs → action-Bw5QJrQq.mjs} +4 -4
- package/dist/{action-3XaPQCm2.mjs → action-CJAonTXJ.mjs} +5 -5
- package/dist/{action-BDcQjMiN.mjs → action-CX7OV4QR.mjs} +6 -6
- package/dist/{assets-CcCV3DjO.mjs → assets-U-iUb_KJ.mjs} +1 -1
- package/dist/auto-routes.mjs +2 -2
- package/dist/{classifier-GUGYVCc2.mjs → classifier-VON_whyW.mjs} +2 -2
- package/dist/cli-acceptance.mjs +1 -1
- package/dist/cli.mjs +14 -14
- package/dist/{config-BBitSuc3.d.mts → config-BdJmEsFT.d.mts} +9 -0
- package/dist/config.d.mts +1 -1
- package/dist/{createCompilerContextInstance-DzcKaTUE.mjs → createCompilerContextInstance-DuhtZY10.mjs} +101 -23
- package/dist/{createContext-Loe3_lZm.mjs → createContext-DwiJtr-L.mjs} +2 -2
- package/dist/doctor-worker.mjs +1 -1
- package/dist/doctor.d.mts +1 -1
- package/dist/doctor.mjs +2 -2
- package/dist/file-CWlAVDyd.mjs +1 -0
- package/dist/{file-BPUFGznA.mjs → file-Cxn4u9sA.mjs} +1 -1
- package/dist/{forwardConsole-CWKCHajG.mjs → forwardConsole-AzeOpd54.mjs} +1 -1
- package/dist/{getInstance-XYRHCDAM.mjs → getInstance-DWkKx8de.mjs} +1 -1
- package/dist/getInstance-DnIAS47O.mjs +1 -0
- package/dist/{history-D7MJCD3f.mjs → history-CyW-8uJu.mjs} +2 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +2 -2
- package/dist/json.d.mts +1 -1
- package/dist/{lib-DYxE4bN4.mjs → lib-B3uoa5R0.mjs} +1 -1
- package/dist/loadConfig-D9WKD1ur.mjs +1 -0
- package/dist/{loadConfig-CG-2IoK_.mjs → loadConfig-DRKB3PQi.mjs} +1 -1
- package/dist/{logBuildAppFinish-vyeesLeB.mjs → logBuildAppFinish-B-dauPS5.mjs} +1 -1
- package/dist/{mcp-Da848p9p.mjs → mcp-DlesTSTw.mjs} +1 -1
- package/dist/mcp.d.mts +1 -1
- package/dist/{openIde-x4wwk7CH.mjs → openIde-CQSkUzpj.mjs} +2 -2
- package/dist/{package-BbtdmT6u.mjs → package-Zbceq5DM.mjs} +1 -1
- package/dist/{runtime-CGHQ5bW_.mjs → runtime-D1ziOILL.mjs} +1 -1
- package/dist/{session-2L_4aIGM.mjs → session-DCuCyCdb.mjs} +2 -2
- package/dist/test.mjs +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/{utils-CnJKj3ls.mjs → utils-o1Qx47Zq.mjs} +1 -1
- package/dist/vite.d.mts +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +27 -27
- package/dist/file-CMgM0KUU.mjs +0 -1
- package/dist/getInstance-CWBziEXC.mjs +0 -1
- package/dist/loadConfig-DlsVDJyf.mjs +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as createCompilerContext } from "./createContext-
|
|
1
|
+
import { t as createCompilerContext } from "./createContext-DwiJtr-L.mjs";
|
|
2
2
|
import { r as logger_default } from "./logger-DGn5iEVN.mjs";
|
|
3
3
|
import { t as setCommandNodeEnv } from "./nodeEnv-zq1EymWj.mjs";
|
|
4
4
|
import { o as resolveConfigFile, r as filterDuplicateOptions } from "./options-Cz8vZ-0w.mjs";
|
|
5
5
|
import { t as terminateStaleSassEmbeddedProcess } from "./processCleanup-DzB64WI8.mjs";
|
|
6
|
-
import { i as resolveRuntimeTargets, t as createInlineConfig } from "./runtime-
|
|
6
|
+
import { i as resolveRuntimeTargets, t as createInlineConfig } from "./runtime-D1ziOILL.mjs";
|
|
7
7
|
import { n as resolveUploadPlatforms } from "./upload-Chal5b3w.mjs";
|
|
8
8
|
import { i as prepareAutoUploadMetadata, n as executeUploadTarget, r as UploadExecutionError, t as createUploadTarget } from "./builtProject-B145uOt5.mjs";
|
|
9
9
|
import { o as resolveUploadTimeout, t as UploadCommandError } from "./report-PJVyo-UZ.mjs";
|
|
@@ -21,7 +21,7 @@ async function resolveHttpUrl(options) {
|
|
|
21
21
|
try {
|
|
22
22
|
if (workspaceRoot !== originalCwd) process.chdir(workspaceRoot);
|
|
23
23
|
const configFile = resolveConfigFile(options);
|
|
24
|
-
const { loadConfig } = await import("./loadConfig-
|
|
24
|
+
const { loadConfig } = await import("./loadConfig-D9WKD1ur.mjs");
|
|
25
25
|
const loaded = await loadConfig(configFile);
|
|
26
26
|
const resolved = resolveWeappMcpConfig(loaded?.config?.weapp?.mcp);
|
|
27
27
|
return `http://${resolved.host}:${resolved.port}${resolved.endpoint}`;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as getBackendForCapability } from "./createCompilerContextInstance-
|
|
1
|
+
import { c as getBackendForCapability } from "./createCompilerContextInstance-DuhtZY10.mjs";
|
|
2
2
|
import { t as VERSION } from "./constants-BOe8mgqL.mjs";
|
|
3
3
|
import { r as logger_default } from "./logger-DGn5iEVN.mjs";
|
|
4
|
-
import { a as startForwardConsoleBridge, i as resolveForwardConsoleOptions, o as readLatestHmrProfileSummary } from "./forwardConsole-
|
|
5
|
-
import { n as openIde, r as resolveIdeCommandContext } from "./openIde-
|
|
4
|
+
import { a as startForwardConsoleBridge, i as resolveForwardConsoleOptions, o as readLatestHmrProfileSummary } from "./forwardConsole-AzeOpd54.mjs";
|
|
5
|
+
import { n as openIde, r as resolveIdeCommandContext } from "./openIde-CQSkUzpj.mjs";
|
|
6
6
|
import { o as resolveConfigFile, r as filterDuplicateOptions } from "./options-Cz8vZ-0w.mjs";
|
|
7
|
-
import { i as resolveRuntimeTargets } from "./runtime-
|
|
7
|
+
import { i as resolveRuntimeTargets } from "./runtime-D1ziOILL.mjs";
|
|
8
8
|
import process from "node:process";
|
|
9
9
|
import { bootstrapWechatDevtoolsSettings, connectOpenedAutomator, defaultCustomConfigFilePath, detectWechatDevtoolsServicePort, getWechatIdeTestAccounts, getWechatIdeTicket, getWechatIdeToolInfo, queryWechatIdeLogin, refreshWechatIdeTicket, resolveCliPath, resolveProjectAutomatorPort, setWechatIdeTicket } from "weapp-ide-cli";
|
|
10
10
|
// src/cli/commands/ide/action.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { i as startAnalyzeDashboard, n as writeAnalyzeHistorySnapshot, r as analyzeSubpackages, t as readLatestAnalyzeHistorySnapshot } from "./history-
|
|
2
|
-
import { c as getBackendForCapability, d as CompilerSession, n as formatBytes } from "./createCompilerContextInstance-
|
|
1
|
+
import { i as startAnalyzeDashboard, n as writeAnalyzeHistorySnapshot, r as analyzeSubpackages, t as readLatestAnalyzeHistorySnapshot } from "./history-CyW-8uJu.mjs";
|
|
2
|
+
import { c as getBackendForCapability, d as CompilerSession, n as formatBytes } from "./createCompilerContextInstance-DuhtZY10.mjs";
|
|
3
3
|
import { n as createDashboardArtifactSnapshot } from "./artifacts-TrTX9_jj.mjs";
|
|
4
4
|
import { r as logger_default, t as colors } from "./logger-DGn5iEVN.mjs";
|
|
5
|
-
import { n as formatDuration, r as scheduleCompletedProductionBuildExit, t as logBuildAppFinish } from "./logBuildAppFinish-
|
|
5
|
+
import { n as formatDuration, r as scheduleCompletedProductionBuildExit, t as logBuildAppFinish } from "./logBuildAppFinish-B-dauPS5.mjs";
|
|
6
6
|
import { t as setCommandNodeEnv } from "./nodeEnv-zq1EymWj.mjs";
|
|
7
|
-
import { i as resolveIdeProjectPath, n as openIde } from "./openIde-
|
|
7
|
+
import { i as resolveIdeProjectPath, n as openIde } from "./openIde-CQSkUzpj.mjs";
|
|
8
8
|
import { a as parseDashboardUiHost, i as isUiEnabled, o as resolveConfigFile, r as filterDuplicateOptions } from "./options-Cz8vZ-0w.mjs";
|
|
9
|
-
import { i as resolveRuntimeTargets, n as logRuntimeTarget, r as resolveConfiguredRuntimeTargets, t as createInlineConfig } from "./runtime-
|
|
9
|
+
import { i as resolveRuntimeTargets, n as logRuntimeTarget, r as resolveConfiguredRuntimeTargets, t as createInlineConfig } from "./runtime-D1ziOILL.mjs";
|
|
10
10
|
import { a as prepareAutoUploadMetadataWithRollback, n as executeUploadTarget, o as validateAutoUploadMetadata, t as createUploadTarget } from "./builtProject-B145uOt5.mjs";
|
|
11
11
|
import { a as resolveBuildUploadOptions } from "./report-PJVyo-UZ.mjs";
|
|
12
12
|
import process from "node:process";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as readHmrProfileLines } from "./reader-wzPH_W8A.mjs";
|
|
2
|
-
import { b as resolvePreloadPackageIdentifier, v as collectPreloadPages, x as suggestPreloadRules, y as findPreloadRuleKey } from "./utils-
|
|
3
|
-
import { c as findJsEntry, d as findVueEntry, u as findTemplateEntry } from "./file-
|
|
4
|
-
import { i as startAnalyzeDashboard, n as writeAnalyzeHistorySnapshot, r as analyzeSubpackages, t as readLatestAnalyzeHistorySnapshot } from "./history-
|
|
2
|
+
import { b as resolvePreloadPackageIdentifier, v as collectPreloadPages, x as suggestPreloadRules, y as findPreloadRuleKey } from "./utils-o1Qx47Zq.mjs";
|
|
3
|
+
import { c as findJsEntry, d as findVueEntry, u as findTemplateEntry } from "./file-Cxn4u9sA.mjs";
|
|
4
|
+
import { i as startAnalyzeDashboard, n as writeAnalyzeHistorySnapshot, r as analyzeSubpackages, t as readLatestAnalyzeHistorySnapshot } from "./history-CyW-8uJu.mjs";
|
|
5
5
|
import { t as createAnalyzeBudgetCheck } from "./budget-_Mu-4GKn.mjs";
|
|
6
6
|
import { r as createAnalyzeComparison, t as createDuplicateModuleInsights } from "./analyze-DCZo-sJd.mjs";
|
|
7
|
-
import { c as getBackendForCapability } from "./createCompilerContextInstance-
|
|
8
|
-
import { t as createCompilerContext } from "./createContext-
|
|
7
|
+
import { c as getBackendForCapability } from "./createCompilerContextInstance-DuhtZY10.mjs";
|
|
8
|
+
import { t as createCompilerContext } from "./createContext-DwiJtr-L.mjs";
|
|
9
9
|
import { n as createDashboardArtifactSnapshot } from "./artifacts-TrTX9_jj.mjs";
|
|
10
10
|
import { r as logger_default, t as colors } from "./logger-DGn5iEVN.mjs";
|
|
11
11
|
import { f as resolveHmrProfileJsonPath } from "./devProvider-Ci2il72x.mjs";
|
|
12
12
|
import { t as setCommandNodeEnv } from "./nodeEnv-zq1EymWj.mjs";
|
|
13
13
|
import { a as parseDashboardUiHost, o as resolveConfigFile, r as filterDuplicateOptions, t as coerceBooleanOption } from "./options-Cz8vZ-0w.mjs";
|
|
14
14
|
import { t as terminateStaleSassEmbeddedProcess } from "./processCleanup-DzB64WI8.mjs";
|
|
15
|
-
import { i as resolveRuntimeTargets, n as logRuntimeTarget, t as createInlineConfig } from "./runtime-
|
|
15
|
+
import { i as resolveRuntimeTargets, n as logRuntimeTarget, t as createInlineConfig } from "./runtime-D1ziOILL.mjs";
|
|
16
16
|
import process from "node:process";
|
|
17
17
|
import path from "pathe";
|
|
18
18
|
import { fs } from "@weapp-core/shared/fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as resolveRealpath } from "./realpathScope-DwlLaCk3.mjs";
|
|
2
|
-
import { a as hasOwn, i as resolveWeappLibEntries, o as waitForBuildTasks } from "./lib-
|
|
2
|
+
import { a as hasOwn, i as resolveWeappLibEntries, o as waitForBuildTasks } from "./lib-B3uoa5R0.mjs";
|
|
3
3
|
import { n as loadHostRolldownBuild } from "./engine-Mnnm_ALP.mjs";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import process from "node:process";
|
package/dist/auto-routes.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as getCompilerContext } from "./getInstance-
|
|
2
|
-
import { U as getRouteRuntimeGlobalKeys } from "./createCompilerContextInstance-
|
|
1
|
+
import { t as getCompilerContext } from "./getInstance-DWkKx8de.mjs";
|
|
2
|
+
import { U as getRouteRuntimeGlobalKeys } from "./createCompilerContextInstance-DuhtZY10.mjs";
|
|
3
3
|
// src/auto-routes.ts
|
|
4
4
|
const ROUTE_RUNTIME_OVERRIDE_KEY = Symbol.for("weapp-vite.route-runtime");
|
|
5
5
|
function createGetter(resolver) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as isPathInside } from "./path-E1OjBJAl.mjs";
|
|
2
|
-
import { o as SHARED_CHUNK_VIRTUAL_PREFIX } from "./package-
|
|
3
|
-
import "./utils-
|
|
2
|
+
import { o as SHARED_CHUNK_VIRTUAL_PREFIX } from "./package-Zbceq5DM.mjs";
|
|
3
|
+
import "./utils-o1Qx47Zq.mjs";
|
|
4
4
|
import { posix } from "pathe";
|
|
5
5
|
// src/analyze/subpackages/classifier.ts
|
|
6
6
|
const VIRTUAL_MODULE_INDICATOR = "\0";
|
package/dist/cli-acceptance.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as registerAcceptCommand, t as registerMcpCommand } from "./mcp-
|
|
1
|
+
import { n as registerAcceptCommand, t as registerMcpCommand } from "./mcp-DlesTSTw.mjs";
|
|
2
2
|
import { t as VERSION } from "./constants-BOe8mgqL.mjs";
|
|
3
3
|
import process from "node:process";
|
|
4
4
|
import { cac } from "cac";
|
package/dist/cli.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { n as registerAcceptCommand, t as registerMcpCommand } from "./mcp-
|
|
1
|
+
import { n as registerAcceptCommand, t as registerMcpCommand } from "./mcp-DlesTSTw.mjs";
|
|
2
2
|
import { r as logger_default, t as colors } from "./logger-DGn5iEVN.mjs";
|
|
3
|
-
import { a as resolveIdeProjectRoot, n as openIde, r as resolveIdeCommandContext, s as executeWechatIdeCliCommand, t as closeIde } from "./openIde-
|
|
3
|
+
import { a as resolveIdeProjectRoot, n as openIde, r as resolveIdeCommandContext, s as executeWechatIdeCliCommand, t as closeIde } from "./openIde-CQSkUzpj.mjs";
|
|
4
4
|
import { a as parseDashboardUiHost, i as isUiEnabled, n as convertBase, o as resolveConfigFile, r as filterDuplicateOptions } from "./options-Cz8vZ-0w.mjs";
|
|
5
|
-
import { t as loadConfig } from "./loadConfig-
|
|
5
|
+
import { t as loadConfig } from "./loadConfig-DRKB3PQi.mjs";
|
|
6
6
|
import { c as startWeappViteMcpServer, l as detectAiDevelopmentEnvironment, s as resolveWeappMcpConfig } from "./mcp-ovJgl1N9.mjs";
|
|
7
|
-
import { H as getHmrRuntimeSession, M as syncProjectSupportFiles, N as syncManagedTsconfigBootstrapFiles, T as createGlassEaselAnalyzeResult, c as getBackendForCapability } from "./createCompilerContextInstance-
|
|
8
|
-
import { n as maybeStartForwardConsole, o as readLatestHmrProfileSummary, r as pauseActiveForwardConsole, t as closeActiveForwardConsole } from "./forwardConsole-
|
|
7
|
+
import { H as getHmrRuntimeSession, M as syncProjectSupportFiles, N as syncManagedTsconfigBootstrapFiles, T as createGlassEaselAnalyzeResult, c as getBackendForCapability } from "./createCompilerContextInstance-DuhtZY10.mjs";
|
|
8
|
+
import { n as maybeStartForwardConsole, o as readLatestHmrProfileSummary, r as pauseActiveForwardConsole, t as closeActiveForwardConsole } from "./forwardConsole-AzeOpd54.mjs";
|
|
9
9
|
import { r as formatMcpQuickStart } from "./mcpClient-C8JzVZ46.mjs";
|
|
10
|
-
import { i as resolveRuntimeTargets, n as logRuntimeTarget, r as resolveConfiguredRuntimeTargets, t as createInlineConfig } from "./runtime-
|
|
11
|
-
import { t as createCompilerContext } from "./createContext-
|
|
10
|
+
import { i as resolveRuntimeTargets, n as logRuntimeTarget, r as resolveConfiguredRuntimeTargets, t as createInlineConfig } from "./runtime-D1ziOILL.mjs";
|
|
11
|
+
import { t as createCompilerContext } from "./createContext-DwiJtr-L.mjs";
|
|
12
12
|
import { o as createDevShutdownScope } from "./lifecycle-Dt0rvANg.mjs";
|
|
13
|
-
import { i as startAnalyzeDashboard, n as writeAnalyzeHistorySnapshot, r as analyzeSubpackages, t as readLatestAnalyzeHistorySnapshot } from "./history-
|
|
14
|
-
import { n as version } from "./package-
|
|
15
|
-
import { n as formatDuration, r as scheduleCompletedProductionBuildExit, t as logBuildAppFinish } from "./logBuildAppFinish-
|
|
13
|
+
import { i as startAnalyzeDashboard, n as writeAnalyzeHistorySnapshot, r as analyzeSubpackages, t as readLatestAnalyzeHistorySnapshot } from "./history-CyW-8uJu.mjs";
|
|
14
|
+
import { n as version } from "./package-Zbceq5DM.mjs";
|
|
15
|
+
import { n as formatDuration, r as scheduleCompletedProductionBuildExit, t as logBuildAppFinish } from "./logBuildAppFinish-B-dauPS5.mjs";
|
|
16
16
|
import { t as setCommandNodeEnv } from "./nodeEnv-zq1EymWj.mjs";
|
|
17
17
|
import { t as createAnalyzeMetadata } from "./metadata-HlDKtlsu.mjs";
|
|
18
18
|
import { n as createDashboardArtifactSnapshot } from "./artifacts-TrTX9_jj.mjs";
|
|
@@ -115,14 +115,14 @@ function registerAlipayCommand(cli) {
|
|
|
115
115
|
// src/cli/commands/analyze/index.ts
|
|
116
116
|
function registerAnalyzeCommand(cli) {
|
|
117
117
|
cli.command("analyze [root]", "analyze 两端包体与源码映射").option("--ui-host <host>", `[string] 启动调试 UI 并选择宿主(standalone | hub)`).option("--hmr-profile [file]", `[string | boolean] 分析 HMR JSONL profile,省略值时优先读取配置,否则回退到默认路径`).option("--json", `[boolean] 输出 JSON 结果`).option("--markdown", `[boolean] 输出 Markdown 报告`).option("--report <type>", `[string] 输出指定报告类型(pr)`).option("--budget-check", `[boolean] 检查 analyze 预算,超过预算时返回非 0 退出码`).option("--glass-easel-check", `[boolean] 检查 glass-easel 配置、模板和 SelectorQuery 迁移兼容性`).option("--preload", `[boolean] 分析静态页面跳转、实际分包体积和 preloadRule 额度`).option("--output <file>", `[string] 将分析结果写入指定文件(JSON 或 Markdown)`).option("-p, --platform <platform>", `[string] target platform (weapp | web)`).option("--project-config <path>", `[string] project config path (miniprogram only)`).action(async (root, options) => {
|
|
118
|
-
const { runAnalyzeCommand } = await import("./action-
|
|
118
|
+
const { runAnalyzeCommand } = await import("./action-CX7OV4QR.mjs");
|
|
119
119
|
return runAnalyzeCommand(root, options);
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
122
|
// src/cli/commands/build/index.ts
|
|
123
123
|
function registerBuildCommand(cli) {
|
|
124
124
|
cli.command("build [root]", "build for production").option("--target <target>", `[string] transpile target (default: 'modules')`).option("--outDir <dir>", `[string] output directory (default: dist)`).option("-p, --platform <platform>", `[string] target platform (weapp | web | all)`).option("--project-config <path>", `[string] project config path (miniprogram only)`).option("--sourcemap [output]", `[boolean | "inline" | "hidden"] output source maps for build (default: false)`).option("--minify [minifier]", "[boolean | \"terser\" | \"esbuild\"] enable/disable minification, or specify minifier to use (default: esbuild)").option("--emptyOutDir", `[boolean] force empty outDir when it's outside of root`).option("-w, --watch", `[boolean] rebuilds when modules have changed on disk`).option("--skipNpm", `[boolean] if skip npm build`).option("-o, --open", `[boolean] open ide`).option("--trust-project", "[boolean] auto trust Wechat DevTools project on open", { default: true }).option("--ide-open-strategy <strategy>", "[string] IDE open strategy (cli | automator)", { default: "cli" }).option("--no-open-recovery", "[boolean] disable automatic target-project open retry (preserves existing IDE windows)").option("--ui", `[boolean] 启动调试 UI(当前提供分析视图)`, { default: false }).option("--ui-host <host>", `[string] 启动调试 UI 并选择宿主(standalone | hub)`).option("--analyze", `[boolean] 输出分包分析仪表盘`, { default: false }).option("--scope <scope>", `[string] 局部构建范围,例如 main,packages/order`).option("--upload", "[boolean] upload the mini program after this build succeeds").option("--uv <version>", "[string] upload version override (requires --upload)").option("--desc <text>", "[string] upload description override (requires --upload)").option("--bump <release>", "[string] increment local package version (patch | minor | major; requires --upload)").option("--git-desc", "[boolean] use the latest Git commit subject (requires --upload)").option("--dry-run", "[boolean] validate upload output without credentials or SDK calls (requires --upload)").action(async (root, options) => {
|
|
125
|
-
const { runBuildCommand } = await import("./action-
|
|
125
|
+
const { runBuildCommand } = await import("./action-CJAonTXJ.mjs");
|
|
126
126
|
return runBuildCommand(cli, root, options);
|
|
127
127
|
});
|
|
128
128
|
}
|
|
@@ -196,7 +196,7 @@ function registerGenerateCommand(cli) {
|
|
|
196
196
|
// src/cli/commands/ide/index.ts
|
|
197
197
|
/** 仅在执行 IDE 子命令时加载宿主工具和日志桥接实现。 */
|
|
198
198
|
async function runIdeCommand(action, root, options) {
|
|
199
|
-
const { runIdeCommand } = await import("./action-
|
|
199
|
+
const { runIdeCommand } = await import("./action-Bw5QJrQq.mjs");
|
|
200
200
|
return runIdeCommand(action, root, options);
|
|
201
201
|
}
|
|
202
202
|
/**
|
|
@@ -1598,7 +1598,7 @@ function registerServeCommand(cli) {
|
|
|
1598
1598
|
// src/cli/commands/upload/index.ts
|
|
1599
1599
|
/** 按实际上传或预览调用加载执行层,保留原有返回值重载。 */
|
|
1600
1600
|
async function runUploadCommand(root, options, action = "upload") {
|
|
1601
|
-
const { runUploadCommand } = await import("./action-
|
|
1601
|
+
const { runUploadCommand } = await import("./action-BXRyW6u3.mjs");
|
|
1602
1602
|
return runUploadCommand(root, options, action);
|
|
1603
1603
|
}
|
|
1604
1604
|
function registerUploadCommand(cli) {
|
|
@@ -885,6 +885,15 @@ interface WeappVueTemplateConfig {
|
|
|
885
885
|
classStyleRuntime?: 'auto' | 'wxs' | 'js';
|
|
886
886
|
objectLiteralBindMode?: 'runtime' | 'inline';
|
|
887
887
|
mustacheInterpolation?: 'compact' | 'spaced';
|
|
888
|
+
/**
|
|
889
|
+
* @description Vue `<Teleport>` 映射为小程序 `root-portal` 的配置;`unsupported` 默认 `warn`。
|
|
890
|
+
*/
|
|
891
|
+
teleport?: {
|
|
892
|
+
/** @description 是否启用映射,默认 `true`;关闭后剥掉 Teleport 标签并原位渲染子节点。 */
|
|
893
|
+
enabled?: boolean;
|
|
894
|
+
/** @description 不可映射时的诊断级别,默认 `warn`。 */
|
|
895
|
+
unsupported?: 'warn' | 'error';
|
|
896
|
+
};
|
|
888
897
|
classStyleWxsShared?: boolean;
|
|
889
898
|
functionPropNames?: Array<string | RegExp>;
|
|
890
899
|
}
|
package/dist/config.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Ar as WEAPP_VITE_HOST_NAME, Br as WeappViteRuntime, Fr as resolveWeappViteHostMeta, Gn as JsonMergeContext, Jn as JsonMergeStrategy, Kn as JsonMergeFunction, Mr as applyWeappViteHostMeta, Nr as createWeappViteHostMeta, Pr as isWeappViteHost, Q as WeappCompilerHmrRequest, St as WeappViteConfig, Wn as JsonConfig, X as WeappCompilerHmrAsset, Z as WeappCompilerHmrPreparation, _ as definePageJson, _n as WxmlTransformNode, a as UserConfigFnNoEnvPlain, an as WxmlRemoveAttrRule, at as WeappCompilerPluginOption, bn as MultiPlatformProjectConfig, c as UserConfigFnPromise, cn as WxmlValidationContext, d as Component, dn as WxmlAttribute, et as WeappCompilerPlugin, f as Page, fn as WxmlAttributeValue, g as defineComponentJson, gn as WxmlTransformContext, h as defineAppJson, hn as WxmlTransform, i as UserConfigFnNoEnv, jr as WeappViteHostMeta, l as defineConfig, ln as WxmlValidationDiagnostic, m as Theme, mn as WxmlSourceLocation, n as UserConfigExport, nt as WeappCompilerPluginContext, o as UserConfigFnObject, on as WxmlRemoveOptions, p as Sitemap, pn as WxmlElementInfo, qn as JsonMergeStage, r as UserConfigFn, rt as WeappCompilerPluginController, s as UserConfigFnObjectPlain, sn as WxmlValidate, t as UserConfig, tt as WeappCompilerPluginCapabilities, u as App, un as WxmlValidationVisitor, v as defineSitemapJson, vn as WxmlTransformResult, xn as MultiPlatformProjectConfigs, y as defineThemeJson, yn as WxmlTransformVisitor } from "./config-
|
|
1
|
+
import { Ar as WEAPP_VITE_HOST_NAME, Br as WeappViteRuntime, Fr as resolveWeappViteHostMeta, Gn as JsonMergeContext, Jn as JsonMergeStrategy, Kn as JsonMergeFunction, Mr as applyWeappViteHostMeta, Nr as createWeappViteHostMeta, Pr as isWeappViteHost, Q as WeappCompilerHmrRequest, St as WeappViteConfig, Wn as JsonConfig, X as WeappCompilerHmrAsset, Z as WeappCompilerHmrPreparation, _ as definePageJson, _n as WxmlTransformNode, a as UserConfigFnNoEnvPlain, an as WxmlRemoveAttrRule, at as WeappCompilerPluginOption, bn as MultiPlatformProjectConfig, c as UserConfigFnPromise, cn as WxmlValidationContext, d as Component, dn as WxmlAttribute, et as WeappCompilerPlugin, f as Page, fn as WxmlAttributeValue, g as defineComponentJson, gn as WxmlTransformContext, h as defineAppJson, hn as WxmlTransform, i as UserConfigFnNoEnv, jr as WeappViteHostMeta, l as defineConfig, ln as WxmlValidationDiagnostic, m as Theme, mn as WxmlSourceLocation, n as UserConfigExport, nt as WeappCompilerPluginContext, o as UserConfigFnObject, on as WxmlRemoveOptions, p as Sitemap, pn as WxmlElementInfo, qn as JsonMergeStage, r as UserConfigFn, rt as WeappCompilerPluginController, s as UserConfigFnObjectPlain, sn as WxmlValidate, t as UserConfig, tt as WeappCompilerPluginCapabilities, u as App, un as WxmlValidationVisitor, v as defineSitemapJson, vn as WxmlTransformResult, xn as MultiPlatformProjectConfigs, y as defineThemeJson, yn as WxmlTransformVisitor } from "./config-BdJmEsFT.mjs";
|
|
2
2
|
import { t as WeappI18nConfig } from "./types-e2BMP9NU.mjs";
|
|
3
3
|
export { type App, type Component, type JsonConfig, type JsonMergeContext, type JsonMergeFunction, type JsonMergeStage, type JsonMergeStrategy, type MultiPlatformProjectConfig, type MultiPlatformProjectConfigs, type Page, type Sitemap, type Theme, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnNoEnv, UserConfigFnNoEnvPlain, UserConfigFnObject, UserConfigFnObjectPlain, UserConfigFnPromise, WEAPP_VITE_HOST_NAME, type WeappCompilerHmrAsset, type WeappCompilerHmrPreparation, type WeappCompilerHmrRequest, type WeappCompilerPlugin, type WeappCompilerPluginCapabilities, type WeappCompilerPluginContext, type WeappCompilerPluginController, type WeappCompilerPluginOption, type WeappI18nConfig, type WeappViteConfig, WeappViteHostMeta, type WeappViteRuntime, type WxmlAttribute, type WxmlAttributeValue, type WxmlElementInfo, type WxmlRemoveAttrRule, type WxmlRemoveOptions, type WxmlSourceLocation, type WxmlTransform, type WxmlTransformContext, type WxmlTransformNode, type WxmlTransformResult, type WxmlTransformVisitor, type WxmlValidate, type WxmlValidationContext, type WxmlValidationDiagnostic, type WxmlValidationVisitor, applyWeappViteHostMeta, createWeappViteHostMeta, defineAppJson, defineComponentJson, defineConfig, definePageJson, defineSitemapJson, defineThemeJson, isWeappViteHost, resolveWeappViteHostMeta };
|
|
@@ -7,14 +7,14 @@ import { a as parseSidecarModuleId, c as resolveVirtualModuleId, i as parseLogic
|
|
|
7
7
|
import { $ as invalidateAutoRoutesVirtualModules, A as chokidar_default, At as isLogicalEntrySource, B as resolveNpmBuildCandidateDependenciesSync, C as deferWxmlDependencyCommit, Ct as platformApiIdentifiers, D as shareWxmlDependencies, Dt as collectDevStartNodes, E as isWxmlDependency, Et as collectBuildStartIds, F as dedupeNpmDependencies, G as packageSearchOptions, H as resolveNpmDistDirName, I as hasLocalSubPackageNpmConfig, J as WEVU_AUTO_ROUTES_RESOLVED_MODULE_ID$1, K as createPackageImportsQueryPlugin, L as resolveConfiguredNpmDependencyPatterns, N as createViteWatchIgnored, O as createFileWatcher, Ot as hasBuildModule, P as resolvePollingWatchOptions, Q as createAutoRoutesSidecarWatcher, R as resolveDeclaredNpmDependencies, S as commitWxmlDependencies, St as mayContainPlatformApiIdentifierByText, T as getWxmlWatchFiles, Tt as collectComponentPropsFromCode, U as resolveNpmStrategyMode, V as resolveNpmBuildCandidateDependencyRecordSync, W as resolveTargetDependencies, X as collectAutoRoutesReloadModules, Y as addAutoRoutesWatchTargets, Z as collectAutoRoutesWatchDirs, _ as notifyDevModuleGraphHost, _t as isPlatformApiIdentifier, a as markOwnedPlugins, at as shouldStartAutoRoutesWatcher, b as beginWxmlDependencies, bt as collectRequireTokens, c as recordHmrProfileDuration, ct as isAutoRoutesGeneratedRelativePath, d as resolveHmrProfileJsonEnvOption, dt as createAutoRoutesMatcher, et as isAutoRoutesWatchFile, f as resolveHmrProfileJsonPath, ft as isCSSRequest, g as hasDevModuleGraphHost, gt as analyzeScripts, ht as analyzeScript$1, i as markOwnedPlugin, it as resolveAutoRoutesWatchChangeEvent, j as deduplicateCleanupErrors, jt as normalizeSourceId$1, k as createSidecarWatcherReadiness, kt as hasDevModule, l as recordHmrProfileOperation, lt as resolveAutoRoutesManagedOutputPaths, m as createSidecarModuleCode, mt as analyzeNpmChunksWithNative, n as createDevModuleGraphProvider, nt as resolveAutoRoutesHotUpdateAction, o as createHmrProfileCheckpoint, ot as isAutoRoutesGeneratedDirectoryName, p as createLogicalEntryModuleCode, pt as isRegexp, q as RESOLVED_VIRTUAL_ID, r as createOwnedPluginGeneration, rt as resolveAutoRoutesVirtualId, s as createHmrProfileEventId, st as isAutoRoutesGeneratedPath, tt as isAutoRoutesWatchMode, u as resolveActiveHmrProfileJsonPath, ut as resolveWeappAutoRoutesConfig, v as reportDevModuleGraphBuild, vt as resolveAstEngine, w as failWxmlDependencies, wt as collectOnPageScrollPerformanceWarnings, x as clearWxmlDependencies, xt as mayContainStaticRequireLiteral, y as bindWxmlDependencyWatch, yt as analyzeScriptSetupImportsFromCode, z as resolveMainBuildDependencyPatterns } from "./devProvider-Ci2il72x.mjs";
|
|
8
8
|
import { a as normalizeWatchPath, i as normalizeRoot, n as normalizePath$1, r as normalizeRelativePath$1, s as toPosixPath, t as isPathInside } from "./path-E1OjBJAl.mjs";
|
|
9
9
|
import { C as shouldNormalizeVueTemplateForPlatform, D as shouldUseProjectRootNpmDir, E as shouldRewriteBundleNpmImports, T as shouldRebuildCachedMiniprogramPackage, _ as shouldEmitGenericPlaceholderAsset, a as getPlatformNpmDistDirName, b as shouldNormalizeMiniprogramPackage, c as getPreservedNpmDirNames, d as getWxmlDirectivePrefix, f as getWxmlPlatformTransformOptions, g as shouldCopyEsModuleDirectory, h as resolveMiniPlatformWithDefault, i as getPlatformAppTypesPackage, l as getProjectPlatformOptions, m as resolveMiniPlatform, o as getPlatformOutputExtensions, r as getJsonPlatformOptions, t as DEFAULT_MP_PLATFORM, u as getSupportedMiniProgramPlatforms$1, y as shouldHoistNestedMiniprogramDependencies } from "./platform-BiMpsZIb.mjs";
|
|
10
|
-
import { a as replaceCompilerSourceSnapshotView, c as findJsEntry, d as findVueEntry, f as isJsOrTs, h as touch, i as getCompilerSourceSnapshotView, l as findJsonEntry, n as getCompilerSourceResolutions, o as changeFileExtension, p as isTemplate, r as getCompilerSourceSnapshot, s as findCssEntry, t as extractConfigFromVue, u as findTemplateEntry, v as inlineAutoRoutesImports } from "./file-
|
|
10
|
+
import { a as replaceCompilerSourceSnapshotView, c as findJsEntry, d as findVueEntry, f as isJsOrTs, h as touch, i as getCompilerSourceSnapshotView, l as findJsonEntry, n as getCompilerSourceResolutions, o as changeFileExtension, p as isTemplate, r as getCompilerSourceSnapshot, s as findCssEntry, t as extractConfigFromVue, u as findTemplateEntry, v as inlineAutoRoutesImports } from "./file-Cxn4u9sA.mjs";
|
|
11
11
|
import { a as supportedCssLangs, c as ALL_NATIVE_STYLE_RESOLVER_EXTENSIONS, d as isNativeTemplateSource, f as isSourceStyleExtension, i as scriptExtensions, n as configExtensions, o as templateExtensions, r as jsExtensions, s as vueExtensions } from "./constants-BOe8mgqL.mjs";
|
|
12
|
-
import { $ as parseNpmPackageSpecifier, A as createCjsConfigLoadError, B as ALIPAY_GENERIC_COMPONENT_PLACEHOLDER, C as loadViteConfigFile, D as invalidateFileCache, E as resolveEntryPath, F as generate$1, G as normalizeAppJson, H as getAliasEntries, I as getVisitorKeys, J as resolveJson, K as parseCommentJson, L as parse$3, M as getReadFileCheckMtime, N as BABEL_TS_MODULE_PARSER_OPTIONS$1, O as pathExists, P as BABEL_TS_MODULE_PLUGINS, Q as normalizeNpmImportPathByPlatform, R as parseJsLike, S as TYPELESS_PACKAGE_JSON_WARNING_CODE, T as resolveEntryExtensions, U as jsonFileRemoveJsExtension, V as WEAPP_SCOPED_SLOT_GENERIC_COMPONENT_PLACEHOLDER, W as matches$1, X as hasNpmDependencyPrefix, Y as toKebabCaseComponentName, Z as normalizeNpmImportLookupPath, _ as applyPreloadRulesToAppJson, a as resolveReExportedName, c as getProjectConfigRootKeys, d as resolveProjectConfigRoot, et as resolveNpmDependencyId, f as resolveProjectConfigSyncDirs, g as pruneOwnedAssetFiles, h as publishProjectConfigAssets, i as toAbsoluteId, j as getPathExistsTtlMs, k as readFile$2, l as getProjectPrivateConfig, m as collectProjectConfigAssets, n as shouldResolveUsingComponentFrom, o as getProjectConfig, p as syncProjectConfigToOutput, q as resolveImportee$1, r as usingComponentFromResolvedFile, s as getProjectConfigFileName, t as resolveWeappConfigFile, u as getProjectPrivateConfigFileName, w as createCachedEntryResolveOptions, z as traverse } from "./utils-
|
|
12
|
+
import { $ as parseNpmPackageSpecifier, A as createCjsConfigLoadError, B as ALIPAY_GENERIC_COMPONENT_PLACEHOLDER, C as loadViteConfigFile, D as invalidateFileCache, E as resolveEntryPath, F as generate$1, G as normalizeAppJson, H as getAliasEntries, I as getVisitorKeys, J as resolveJson, K as parseCommentJson, L as parse$3, M as getReadFileCheckMtime, N as BABEL_TS_MODULE_PARSER_OPTIONS$1, O as pathExists, P as BABEL_TS_MODULE_PLUGINS, Q as normalizeNpmImportPathByPlatform, R as parseJsLike, S as TYPELESS_PACKAGE_JSON_WARNING_CODE, T as resolveEntryExtensions, U as jsonFileRemoveJsExtension, V as WEAPP_SCOPED_SLOT_GENERIC_COMPONENT_PLACEHOLDER, W as matches$1, X as hasNpmDependencyPrefix, Y as toKebabCaseComponentName, Z as normalizeNpmImportLookupPath, _ as applyPreloadRulesToAppJson, a as resolveReExportedName, c as getProjectConfigRootKeys, d as resolveProjectConfigRoot, et as resolveNpmDependencyId, f as resolveProjectConfigSyncDirs, g as pruneOwnedAssetFiles, h as publishProjectConfigAssets, i as toAbsoluteId, j as getPathExistsTtlMs, k as readFile$2, l as getProjectPrivateConfig, m as collectProjectConfigAssets, n as shouldResolveUsingComponentFrom, o as getProjectConfig, p as syncProjectConfigToOutput, q as resolveImportee$1, r as usingComponentFromResolvedFile, s as getProjectConfigFileName, t as resolveWeappConfigFile, u as getProjectPrivateConfigFileName, w as createCachedEntryResolveOptions, z as traverse } from "./utils-o1Qx47Zq.mjs";
|
|
13
13
|
import { n as configureLogger, r as logger_default } from "./logger-DGn5iEVN.mjs";
|
|
14
14
|
import { n as loadHostRolldownBuild, t as loadHostRolldown } from "./engine-Mnnm_ALP.mjs";
|
|
15
|
-
import { A as isTemplateImportTag, B as shouldNormalizeScriptModuleAttributes, C as normalizeEncodedSourceMapLike, D as platformTemplateParser, E as outputTemplateParser, F as isScriptModuleImportAttr, I as isScriptModuleTagName, L as normalizeImportSjsAttributes, M as getNativeScriptModuleByTag, N as getScriptModuleImportAttrs, O as getTemplateImportAttrs, P as getScriptModuleTagNames, R as resolveScriptModuleTagByPlatform, S as labelSourceMapInput, T as configuredTemplateParser, _ as replaceOutputChunkCode, b as syncOutputChunkSourceMapAssets, c as applyRuntimeChunkLocalization, d as appendOutputChunkCode, f as applyAtomicMagicStringChunkRewrite, g as prependOutputChunkCode, h as editOutputChunkCode, i as applySharedChunkStrategy, j as shouldNormalizeTemplateImportSource, k as isTemplateImportAttr, l as assertModuleScopedToRoot, m as applyOutputChunkTransform, p as applyMagicStringChunkRewrite, r as resolveSharedChunkName, s as SUB_PACKAGE_SHARED_DIR, t as engines, u as resolveSubPackagePrefix, v as replaceOutputChunkCodeRanges, w as resetTakeImportRegistry, x as composeSourceMaps, y as resolveOutputChunkTransformCode, z as resolveScriptModuleTagName } from "./package-
|
|
15
|
+
import { A as isTemplateImportTag, B as shouldNormalizeScriptModuleAttributes, C as normalizeEncodedSourceMapLike, D as platformTemplateParser, E as outputTemplateParser, F as isScriptModuleImportAttr, I as isScriptModuleTagName, L as normalizeImportSjsAttributes, M as getNativeScriptModuleByTag, N as getScriptModuleImportAttrs, O as getTemplateImportAttrs, P as getScriptModuleTagNames, R as resolveScriptModuleTagByPlatform, S as labelSourceMapInput, T as configuredTemplateParser, _ as replaceOutputChunkCode, b as syncOutputChunkSourceMapAssets, c as applyRuntimeChunkLocalization, d as appendOutputChunkCode, f as applyAtomicMagicStringChunkRewrite, g as prependOutputChunkCode, h as editOutputChunkCode, i as applySharedChunkStrategy, j as shouldNormalizeTemplateImportSource, k as isTemplateImportAttr, l as assertModuleScopedToRoot, m as applyOutputChunkTransform, p as applyMagicStringChunkRewrite, r as resolveSharedChunkName, s as SUB_PACKAGE_SHARED_DIR, t as engines, u as resolveSubPackagePrefix, v as replaceOutputChunkCodeRanges, w as resetTakeImportRegistry, x as composeSourceMaps, y as resolveOutputChunkTransformCode, z as resolveScriptModuleTagName } from "./package-Zbceq5DM.mjs";
|
|
16
16
|
import { n as transformWxsCode, r as normalizeWxsFilename, t as transformFilterCode } from "./filter-BEsBsZE9.mjs";
|
|
17
|
-
import { a as hasOwn$6, i as resolveWeappLibEntries, n as hasLibEntry, o as waitForBuildTasks, r as resolveWeappLibConfig, t as createLibEntryFileNameResolver } from "./lib-
|
|
17
|
+
import { a as hasOwn$6, i as resolveWeappLibEntries, n as hasLibEntry, o as waitForBuildTasks, r as resolveWeappLibConfig, t as createLibEntryFileNameResolver } from "./lib-B3uoa5R0.mjs";
|
|
18
18
|
import { createRequire, isBuiltin } from "node:module";
|
|
19
19
|
import process from "node:process";
|
|
20
20
|
import { APP_PRELUDE_CHUNK_MARKER, APP_PRELUDE_GUARD_KEY, APP_PRELUDE_REQUIRE_MARKER, REQUEST_GLOBAL_ACTUALS_KEY, REQUEST_GLOBAL_BUNDLE_HOST_REF, REQUEST_GLOBAL_BUNDLE_MARKER, REQUEST_GLOBAL_BUNDLE_MARKER as REQUEST_GLOBAL_BUNDLE_MARKER$1, REQUEST_GLOBAL_CHUNK_HOST_REF, REQUEST_GLOBAL_CHUNK_MODULE_REF, REQUEST_GLOBAL_EXPOSE_HELPER, REQUEST_GLOBAL_INSTALLER_HOST_REF, REQUEST_GLOBAL_INSTALLER_MARKER, REQUEST_GLOBAL_LAZY_CONSTRUCTOR_HELPER, REQUEST_GLOBAL_LAZY_FUNCTION_HELPER, REQUEST_GLOBAL_LOCAL_BINDINGS_MARKER, REQUEST_GLOBAL_LOCAL_BINDINGS_MARKER as REQUEST_GLOBAL_LOCAL_BINDINGS_MARKER$1, REQUEST_GLOBAL_MARK_PLACEHOLDER_HELPER, REQUEST_GLOBAL_PASSIVE_BINDINGS_MARKER, REQUEST_GLOBAL_PASSIVE_BINDINGS_MARKER as REQUEST_GLOBAL_PASSIVE_BINDINGS_MARKER$1, REQUEST_GLOBAL_PLACEHOLDER_KEY, REQUEST_GLOBAL_PRELUDE_GUARD_KEY, REQUEST_GLOBAL_PRELUDE_MARKER, REQUEST_GLOBAL_SYNTHETIC_EXPORT_NAME, REQUEST_GLOBAL_USABLE_CONSTRUCTOR_HELPER, WEAPP_I18N_JS_FILE, WEAPP_I18N_LOCALE_DATA_KEY, WEAPP_I18N_PUBLIC_MODULE_ID, WEAPP_I18N_RUNTIME_MARKER, WEAPP_I18N_VIRTUAL_MODULE_ID, WEAPP_I18N_WXS_FILE, WEAPP_REACT_EVENT_METHOD_NAME, WEAPP_VITE_CLASSIC_GENERATION_MARKER, WEAPP_VITE_CLASSIC_SETTLEMENT_KEY, WEAPP_VITE_EXTERNAL_OUTPUT_DIRECTORY, WEAPP_VITE_IMPORT_META_ENV_KEY, WEAPP_VITE_INJECTED_API_IDENTIFIER, WEAPP_VITE_LOGICAL_ENTRY_RESOLVED_PREFIX, WEAPP_VITE_OUTPUT_PUBLICATION_PLUGIN_NAME, WEAPP_VITE_REACT_RENDERER_DEFINE, WEAPP_VITE_RUNTIME_CONTRACT_VERSION, WEAPP_VITE_RUNTIME_REACTIVITY_VIRTUAL_ID, WEAPP_VITE_RUNTIME_TEMPLATE_VIRTUAL_ID, WEAPP_VITE_RUNTIME_VIRTUAL_ID, WEAPP_VITE_RUNTIME_VIRTUAL_IDS, WEAPP_VITE_SIDECAR_RESOLVED_PREFIX, WEAPP_VITE_STATEFUL_HMR_BRIDGE_KEY, WEAPP_VITE_STATEFUL_HMR_CLIENT_KEY, WEAPP_VITE_STATEFUL_HMR_CONTROL_FILE, WEAPP_VITE_STATEFUL_HMR_CONTROL_KEY, WEAPP_VITE_STATEFUL_HMR_GLOBAL_STYLE_BASENAME, WEAPP_VITE_STATEFUL_HMR_PRELOAD_FILE, WEAPP_VITE_STATEFUL_HMR_REGISTRATION_CONTRACT_VERSION, WEAPP_VITE_STATEFUL_HMR_RUNTIME_CONTRACT_METHOD, WEAPP_VITE_STATEFUL_HMR_UNSUPPORTED_REGISTRATION_CODE, WEAPP_VITE_STATEFUL_HMR_UPDATE_FILE, WEAPP_VITE_WASM_INIT_QUERY_MARKER, WEAPP_VITE_WEB_AUTO_ROUTES_RESOLVED_MODULE_ID, WEAPP_VITE_WEB_ENTRY_RESOLVED_MODULE_ID, WEB_RUNTIME_GLOBAL_TARGETS, WEB_RUNTIME_STREAM_TARGETS, WEVU_APP_SHELL_COMPONENT_BASE, WEVU_APP_SHELL_TAG_NAME, WEVU_APP_SHELL_VIRTUAL_PREFIX, WEVU_AUTO_ROUTES_MODULE_ID, WEVU_AUTO_ROUTES_RESOLVED_MODULE_ID, WEVU_AUTO_ROUTES_VIRTUAL_MODULE_ID, WEVU_CLASS_STYLE_RUNTIME_MODULE, WEVU_DEFINE_PAGE_META_MACRO, WEVU_INTERNAL_KEY_IDENTIFIER, WEVU_LAYOUT_BIND_PREFIX, WEVU_NATIVE_DECLARATION_METHOD, WEVU_PAGE_LAYOUT_CURRENT_NAME_IDENTIFIER, WEVU_PAGE_LAYOUT_CURRENT_PROPS_IDENTIFIER, WEVU_PAGE_LAYOUT_NAME_KEY, WEVU_PAGE_LAYOUT_NEXT_NAME_IDENTIFIER, WEVU_PAGE_LAYOUT_NEXT_PROPS_IDENTIFIER, WEVU_PAGE_LAYOUT_NONE, WEVU_PAGE_LAYOUT_PROPS_KEY, WEVU_PAGE_LAYOUT_SETTER_KEY, WEVU_ROUTER_MODULE_ID, WEVU_SLOT_FALLBACK_VIRTUAL_HOST_BASE, WEVU_SLOT_FALLBACK_VIRTUAL_HOST_GLOBAL_PATH, WEVU_SLOT_FALLBACK_VIRTUAL_HOST_TAG_NAME, WEVU_SLOT_NAMES_ATTR, WEVU_SLOT_NAMES_PROP, WEVU_SLOT_OWNER_ATTR, WEVU_SLOT_OWNER_ID_ATTR, WEVU_SLOT_OWNER_ID_KEY, WEVU_SLOT_OWNER_ID_PROP, WEVU_SLOT_PROPS_ATTR, WEVU_SLOT_SCOPE_ATTR, WEVU_SLOT_SCOPE_KEY, WEVU_TEMPLATE_REF_CLASS_PREFIX, WX_WEBASSEMBLY_MIN_BASE_LIB_VERSION, WX_WEBASSEMBLY_WORKER_MIN_BASE_LIB_VERSION, resolveWebRuntimeGlobalTargetDependencies as resolveRequestGlobalsTargetDependencies } from "@weapp-core/constants";
|
|
@@ -43517,7 +43517,7 @@ async function loadAppEntry(ctx, scanState) {
|
|
|
43517
43517
|
const { path: appEntryPath } = appEntry;
|
|
43518
43518
|
let configFromVue;
|
|
43519
43519
|
if (!appConfigFile && vueAppPath) {
|
|
43520
|
-
const { extractConfigFromVue } = await import("./file-
|
|
43520
|
+
const { extractConfigFromVue } = await import("./file-CWlAVDyd.mjs");
|
|
43521
43521
|
configFromVue = await extractConfigFromVue(vueAppPath, { compilerContext: ctx });
|
|
43522
43522
|
if (configFromVue) appConfigFile = vueAppPath;
|
|
43523
43523
|
}
|
|
@@ -48487,6 +48487,11 @@ async function loadSwcTransformModule(importer = importSwcCore) {
|
|
|
48487
48487
|
throw hint;
|
|
48488
48488
|
}
|
|
48489
48489
|
}
|
|
48490
|
+
function resolveCompactOutput(minify) {
|
|
48491
|
+
if (!minify || minify === "dce-only") return false;
|
|
48492
|
+
if (typeof minify === "object") return minify.codegen !== false && (typeof minify.codegen !== "object" || minify.codegen.removeWhitespace !== false);
|
|
48493
|
+
return true;
|
|
48494
|
+
}
|
|
48490
48495
|
function resolveSourceMapOption(outputOptions) {
|
|
48491
48496
|
const sourcemap = outputOptions.sourcemap;
|
|
48492
48497
|
if (sourcemap === false || sourcemap === void 0) return false;
|
|
@@ -48496,6 +48501,7 @@ function resolveSourceMapOption(outputOptions) {
|
|
|
48496
48501
|
async function transformWithSwc$1(code, chunk, outputOptions, importer) {
|
|
48497
48502
|
const result = await (await loadSwcTransformModule(importer)).transform(code, {
|
|
48498
48503
|
filename: chunk.fileName,
|
|
48504
|
+
minify: resolveCompactOutput(outputOptions.minify),
|
|
48499
48505
|
sourceMaps: resolveSourceMapOption(outputOptions),
|
|
48500
48506
|
module: { type: "commonjs" },
|
|
48501
48507
|
jsc: {
|
|
@@ -48515,16 +48521,34 @@ async function transformWithSwc$1(code, chunk, outputOptions, importer) {
|
|
|
48515
48521
|
};
|
|
48516
48522
|
}
|
|
48517
48523
|
function createLegacyEs5Plugin() {
|
|
48524
|
+
const outputMinification = /* @__PURE__ */ new WeakMap();
|
|
48518
48525
|
return {
|
|
48519
48526
|
name: "weapp-runtime:swc-es5-transform",
|
|
48527
|
+
outputOptions: {
|
|
48528
|
+
order: "post",
|
|
48529
|
+
handler(options) {
|
|
48530
|
+
const compact = resolveCompactOutput(options.minify);
|
|
48531
|
+
return {
|
|
48532
|
+
...options,
|
|
48533
|
+
plugins: [options.plugins, {
|
|
48534
|
+
name: "weapp-runtime:swc-es5-output-options",
|
|
48535
|
+
renderStart(normalizedOptions) {
|
|
48536
|
+
outputMinification.set(normalizedOptions, compact);
|
|
48537
|
+
}
|
|
48538
|
+
}]
|
|
48539
|
+
};
|
|
48540
|
+
}
|
|
48541
|
+
},
|
|
48520
48542
|
generateBundle: {
|
|
48521
48543
|
order: "post",
|
|
48522
48544
|
async handler(outputOptions, bundle) {
|
|
48545
|
+
const minify = outputMinification.get(outputOptions) ?? resolveCompactOutput(outputOptions.minify);
|
|
48546
|
+
outputMinification.delete(outputOptions);
|
|
48523
48547
|
for (const output of Object.values(bundle)) if (output.type === "chunk") {
|
|
48524
48548
|
const code = resolveOutputChunkTransformCode(output);
|
|
48525
48549
|
if (!code) continue;
|
|
48526
48550
|
const result = await transformWithSwc$1(code, output, {
|
|
48527
|
-
|
|
48551
|
+
minify,
|
|
48528
48552
|
sourcemap: Boolean(output.map) || outputOptions.sourcemap
|
|
48529
48553
|
});
|
|
48530
48554
|
applyOutputChunkTransform(output, result.code, normalizeEncodedSourceMapLike(result.map));
|
|
@@ -48532,7 +48556,7 @@ function createLegacyEs5Plugin() {
|
|
|
48532
48556
|
const code = typeof output.source === "string" ? output.source : new TextDecoder().decode(output.source);
|
|
48533
48557
|
if (!code) continue;
|
|
48534
48558
|
output.source = (await transformWithSwc$1(code, { fileName: output.fileName }, {
|
|
48535
|
-
|
|
48559
|
+
minify,
|
|
48536
48560
|
sourcemap: false
|
|
48537
48561
|
})).code;
|
|
48538
48562
|
}
|
|
@@ -60136,6 +60160,41 @@ function replaceImportMetaAccessInSfc(source, options) {
|
|
|
60136
60160
|
}
|
|
60137
60161
|
return mutated ? ms.toString() : source;
|
|
60138
60162
|
}
|
|
60163
|
+
// src/plugins/core/lifecycle/emit/requestGlobals/bindings.ts
|
|
60164
|
+
/** 收集模块顶层的直接调用及其结果绑定,不进入函数体。 */
|
|
60165
|
+
function createTopLevelCallCollector() {
|
|
60166
|
+
const calls = [];
|
|
60167
|
+
return {
|
|
60168
|
+
calls,
|
|
60169
|
+
visitor: { CallExpression(path) {
|
|
60170
|
+
const { node } = path;
|
|
60171
|
+
if (node.callee?.type === "Identifier" && !path.getFunctionParent() && typeof node.start === "number" && typeof node.end === "number") {
|
|
60172
|
+
const binding = path.scope.getBinding(node.callee.name);
|
|
60173
|
+
if (binding && !binding.scope.path.isProgram()) return;
|
|
60174
|
+
const declaration = path.findParent((parent) => parent.isVariableDeclarator());
|
|
60175
|
+
calls.push(Object.freeze({
|
|
60176
|
+
name: node.callee.name,
|
|
60177
|
+
start: node.start,
|
|
60178
|
+
end: node.end,
|
|
60179
|
+
binding: declaration?.node.id?.name
|
|
60180
|
+
}));
|
|
60181
|
+
}
|
|
60182
|
+
} }
|
|
60183
|
+
};
|
|
60184
|
+
}
|
|
60185
|
+
/** 保留产物模块自己的绑定,包括解构、导入和提升到模块作用域的 var。 */
|
|
60186
|
+
function collectTopLevelDeclaredIdentifiers(code) {
|
|
60187
|
+
const identifiers = /* @__PURE__ */ new Set();
|
|
60188
|
+
const ast = parse$3(code, {
|
|
60189
|
+
sourceType: "unambiguous",
|
|
60190
|
+
allowReturnOutsideFunction: true
|
|
60191
|
+
});
|
|
60192
|
+
traverse(ast, { Program(program) {
|
|
60193
|
+
for (const name of Object.keys(program.scope.bindings)) identifiers.add(name);
|
|
60194
|
+
program.stop();
|
|
60195
|
+
} });
|
|
60196
|
+
return identifiers;
|
|
60197
|
+
}
|
|
60139
60198
|
// src/plugins/core/lifecycle/emit/requestGlobals/installer.ts
|
|
60140
60199
|
function staticValue(path, node, visited = /* @__PURE__ */ new Set()) {
|
|
60141
60200
|
if (node?.type === "StringLiteral") return node.value;
|
|
@@ -60212,12 +60271,13 @@ function mergeVisitors(...visitors) {
|
|
|
60212
60271
|
/** 一次解析和作用域遍历聚合请求全局安装所需的纯内容事实。 */
|
|
60213
60272
|
function analyzeContent(code) {
|
|
60214
60273
|
const installer = createRequestGlobalsInstallerCollector();
|
|
60274
|
+
const calls = createTopLevelCallCollector();
|
|
60215
60275
|
const usage = createRequestGlobalsUsageCollector(code, FULL_REQUEST_GLOBAL_TARGETS, true);
|
|
60216
60276
|
const declaredIdentifiers = [];
|
|
60217
60277
|
const exports = [];
|
|
60218
60278
|
const staticImports = [];
|
|
60219
60279
|
const requires = [];
|
|
60220
|
-
traverse(parseJsLike(code), mergeVisitors(installer.visitor, usage.source === code ? usage.visitor : {}, {
|
|
60280
|
+
traverse(parseJsLike(code), mergeVisitors(installer.visitor, calls.visitor, usage.source === code ? usage.visitor : {}, {
|
|
60221
60281
|
Program(program) {
|
|
60222
60282
|
declaredIdentifiers.push(...Object.keys(program.scope.bindings));
|
|
60223
60283
|
},
|
|
@@ -60252,6 +60312,7 @@ function analyzeContent(code) {
|
|
|
60252
60312
|
declaredIdentifiers: Object.freeze(declaredIdentifiers),
|
|
60253
60313
|
staticImports: Object.freeze(staticImports),
|
|
60254
60314
|
requires: Object.freeze(requires),
|
|
60315
|
+
topLevelCalls: Object.freeze(calls.calls),
|
|
60255
60316
|
usage: usageFacts && Object.freeze({
|
|
60256
60317
|
...usageFacts,
|
|
60257
60318
|
importedTargets: Object.freeze(usageFacts.importedTargets),
|
|
@@ -60343,20 +60404,6 @@ function getSessionRequestGlobalsAnalysisCache(session, config) {
|
|
|
60343
60404
|
function getRequestGlobalsContentFacts(code, filename, options) {
|
|
60344
60405
|
return options?.cache.get(code, filename, options);
|
|
60345
60406
|
}
|
|
60346
|
-
// src/plugins/core/lifecycle/emit/requestGlobals/bindings.ts
|
|
60347
|
-
/** 保留产物模块自己的绑定,包括解构、导入和提升到模块作用域的 var。 */
|
|
60348
|
-
function collectTopLevelDeclaredIdentifiers(code) {
|
|
60349
|
-
const identifiers = /* @__PURE__ */ new Set();
|
|
60350
|
-
const ast = parse$3(code, {
|
|
60351
|
-
sourceType: "unambiguous",
|
|
60352
|
-
allowReturnOutsideFunction: true
|
|
60353
|
-
});
|
|
60354
|
-
traverse(ast, { Program(program) {
|
|
60355
|
-
for (const name of Object.keys(program.scope.bindings)) identifiers.add(name);
|
|
60356
|
-
program.stop();
|
|
60357
|
-
} });
|
|
60358
|
-
return identifiers;
|
|
60359
|
-
}
|
|
60360
60407
|
// src/plugins/core/lifecycle/emit/requestGlobals/chunkGraph.ts
|
|
60361
60408
|
/** 初始化器及其同步依赖先于 prelude 执行,不能反向加载 prelude。 */
|
|
60362
60409
|
function collectRequestGlobalsInstallerDependencies(bundle, installerFileNames, analysis) {
|
|
@@ -60409,6 +60456,33 @@ function wouldCollapseSupportCreateCycle(bundle, runtimeFileName, supportFileNam
|
|
|
60409
60456
|
}
|
|
60410
60457
|
return false;
|
|
60411
60458
|
}
|
|
60459
|
+
// src/plugins/core/lifecycle/emit/requestGlobals/inlineBindings.ts
|
|
60460
|
+
/** 复用源码已有的安装时机,安装返回后更新占位绑定,避免在模块常量初始化前调用。 */
|
|
60461
|
+
function synchronizeInlineInstallerBindings(chunk, installer, targets, localTargets, analysis) {
|
|
60462
|
+
let calls = getRequestGlobalsContentFacts(chunk.code, chunk.fileName, analysis)?.topLevelCalls;
|
|
60463
|
+
if (!calls) {
|
|
60464
|
+
const collector = createTopLevelCallCollector();
|
|
60465
|
+
traverse(parseJsLike(chunk.code), collector.visitor);
|
|
60466
|
+
calls = collector.calls;
|
|
60467
|
+
}
|
|
60468
|
+
const installations = calls.filter((call) => call.name === installer && call.binding !== REQUEST_GLOBAL_BUNDLE_HOST_REF);
|
|
60469
|
+
if (!installations.length) return false;
|
|
60470
|
+
const host = REQUEST_GLOBAL_CHUNK_HOST_REF;
|
|
60471
|
+
const bindings = [
|
|
60472
|
+
...targets.map((target) => `${REQUEST_GLOBAL_ACTUALS_KEY}[${JSON.stringify(target)}]=(${host}||globalThis).${target}`),
|
|
60473
|
+
...targets.map((target) => `try{globalThis[${JSON.stringify(target)}]=(${host}||globalThis).${target}}catch{}`),
|
|
60474
|
+
...localTargets.map((target) => `${target}=(${host}||globalThis).${target}`),
|
|
60475
|
+
`return ${host}`
|
|
60476
|
+
].join(";");
|
|
60477
|
+
editOutputChunkCode(chunk, (magicString) => {
|
|
60478
|
+
magicString.prepend(`/* ${REQUEST_GLOBAL_LOCAL_BINDINGS_MARKER} */ ${localTargets.length ? `var ${localTargets.join(",")};` : ""}\n`);
|
|
60479
|
+
for (const call of installations) {
|
|
60480
|
+
magicString.appendLeft(call.start, `(function(${host}){${bindings}})(`);
|
|
60481
|
+
magicString.appendLeft(call.end, ")");
|
|
60482
|
+
}
|
|
60483
|
+
});
|
|
60484
|
+
return true;
|
|
60485
|
+
}
|
|
60412
60486
|
// src/plugins/core/lifecycle/emit/requestGlobals.ts
|
|
60413
60487
|
const REQUEST_GLOBAL_APP_MODULE_KEY_PREFIX = "__weappViteRequestGlobalsModule:";
|
|
60414
60488
|
const bundlePassiveBindingTargets = /* @__PURE__ */ new WeakMap();
|
|
@@ -60529,6 +60603,7 @@ function injectRequestGlobalsLocalBindings(bundle, installerChunks, targets, mod
|
|
|
60529
60603
|
const generatedBindings = bundlePassiveBindingTargets.get(chunk);
|
|
60530
60604
|
const localBindingTargets = bindingTargets.filter((target) => !declaredBindings.has(target) || generatedBindings?.has(target));
|
|
60531
60605
|
const inlineInstallerName = resolveRequestGlobalsInstallerName(chunk.code, analysis, chunk.fileName);
|
|
60606
|
+
if (inlineInstallerName && synchronizeInlineInstallerBindings(chunk, inlineInstallerName, bindingTargets, localBindingTargets, analysis)) continue;
|
|
60532
60607
|
const firstRequireMatch = chunk.code.matchAll(REQUEST_GLOBAL_REQUIRE_DECLARATOR_RE).next().value;
|
|
60533
60608
|
let requireImportLiteral = null;
|
|
60534
60609
|
let exportName;
|
|
@@ -63382,7 +63457,7 @@ function createLibDtsPlugin(ctx) {
|
|
|
63382
63457
|
if (root) addNormalizedWatchFile(this, root);
|
|
63383
63458
|
}
|
|
63384
63459
|
if (ctx.configService.isDev || ctx.configService.weappLibConfig?.dts?.enabled === false) return;
|
|
63385
|
-
const { prepareLibDtsAssets } = await import("./assets-
|
|
63460
|
+
const { prepareLibDtsAssets } = await import("./assets-U-iUb_KJ.mjs");
|
|
63386
63461
|
for (const asset of await prepareLibDtsAssets(ctx.configService, (file) => this.addWatchFile(file))) this.emitFile(asset);
|
|
63387
63462
|
}
|
|
63388
63463
|
}
|
|
@@ -65616,6 +65691,7 @@ function buildCompileVueFileOptions(ctx, pluginCtx, vuePath, isPage, isApp, conf
|
|
|
65616
65691
|
const classStyleRuntimeConfig = configService.weappViteConfig?.vue?.template?.classStyleRuntime ?? "js";
|
|
65617
65692
|
const objectLiteralBindMode = configService.weappViteConfig?.vue?.template?.objectLiteralBindMode ?? "runtime";
|
|
65618
65693
|
const mustacheInterpolation = configService.weappViteConfig?.vue?.template?.mustacheInterpolation ?? "compact";
|
|
65694
|
+
const teleport = configService.weappViteConfig?.vue?.template?.teleport;
|
|
65619
65695
|
const functionPropNames = configService.weappViteConfig?.vue?.template?.functionPropNames;
|
|
65620
65696
|
const i18nConfig = configService.platform === "weapp" ? configService.weappViteConfig?.i18n : void 0;
|
|
65621
65697
|
const templateSafeCallNames = i18nConfig ? [i18nConfig.functionName ?? "t"] : void 0;
|
|
@@ -65754,6 +65830,7 @@ function buildCompileVueFileOptions(ctx, pluginCtx, vuePath, isPage, isApp, conf
|
|
|
65754
65830
|
classStyleRuntime: templatePlatformOptions.classStyleRuntime,
|
|
65755
65831
|
objectLiteralBindMode,
|
|
65756
65832
|
mustacheInterpolation,
|
|
65833
|
+
teleport,
|
|
65757
65834
|
functionPropNames,
|
|
65758
65835
|
templateSafeCallNames,
|
|
65759
65836
|
formatWxml,
|
|
@@ -68997,6 +69074,7 @@ function normalizeInlineConfigAfterDefu(inline, options) {
|
|
|
68997
69074
|
const mergedRolldownOptions = {
|
|
68998
69075
|
...userRolldownOptions ?? {},
|
|
68999
69076
|
...rolldownOptions,
|
|
69077
|
+
plugins: [...new Set(normalizePluginOptions(userRolldownOptions?.plugins ?? rolldownOptions.plugins))],
|
|
69000
69078
|
output: {
|
|
69001
69079
|
...rolldownOptions.output,
|
|
69002
69080
|
...userRolldownOptions?.output ?? {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as resetCompilerContext, r as setActiveCompilerContextKey, t as getCompilerContext } from "./getInstance-
|
|
2
|
-
import { j as initializeCompilerContext } from "./createCompilerContextInstance-
|
|
1
|
+
import { n as resetCompilerContext, r as setActiveCompilerContextKey, t as getCompilerContext } from "./getInstance-DWkKx8de.mjs";
|
|
2
|
+
import { j as initializeCompilerContext } from "./createCompilerContextInstance-DuhtZY10.mjs";
|
|
3
3
|
// src/createContext.ts
|
|
4
4
|
/** 保留历史活动上下文适配;新宿主通过 CompilerSession 创建独立会话。 */
|
|
5
5
|
async function createCompilerContext(options) {
|
package/dist/doctor-worker.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as resolveAnalyzeBudgets } from "./metadata-HlDKtlsu.mjs";
|
|
2
2
|
import { t as terminateStaleSassEmbeddedProcess } from "./processCleanup-DzB64WI8.mjs";
|
|
3
|
-
import { t as createCompilerContext } from "./createContext-
|
|
3
|
+
import { t as createCompilerContext } from "./createContext-DwiJtr-L.mjs";
|
|
4
4
|
import { r as readDoctorFiles } from "./files-Cy9jURJu.mjs";
|
|
5
5
|
import process from "node:process";
|
|
6
6
|
import path from "node:path";
|
package/dist/doctor.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as AnalyzeBudgetConfig } from "./budget-DTPngJU0.mjs";
|
|
2
|
-
import { Yn as MpPlatform } from "./config-
|
|
2
|
+
import { Yn as MpPlatform } from "./config-BdJmEsFT.mjs";
|
|
3
3
|
import { OperationDiagnostics } from "@weapp-vite/miniprogram-automator";
|
|
4
4
|
type DoctorLayer = 'project' | 'source' | 'artifact' | 'runtime';
|
|
5
5
|
interface DoctorCoverage {
|
package/dist/doctor.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { l as getProjectPlatformOptions, m as resolveMiniPlatform, o as getPlatformOutputExtensions } from "./platform-BiMpsZIb.mjs";
|
|
2
|
-
import { t as classifyPackage } from "./classifier-
|
|
2
|
+
import { t as classifyPackage } from "./classifier-VON_whyW.mjs";
|
|
3
3
|
import { t as createAnalyzeBudgetCheck } from "./budget-_Mu-4GKn.mjs";
|
|
4
4
|
import { n as parseObject, r as readDoctorFiles, t as objectValue } from "./files-Cy9jURJu.mjs";
|
|
5
|
-
import { E as outputTemplateParser, N as getScriptModuleImportAttrs, O as getTemplateImportAttrs, n as version } from "./package-
|
|
5
|
+
import { E as outputTemplateParser, N as getScriptModuleImportAttrs, O as getTemplateImportAttrs, n as version } from "./package-Zbceq5DM.mjs";
|
|
6
6
|
import process from "node:process";
|
|
7
7
|
import { constants } from "node:fs";
|
|
8
8
|
import { fileURLToPath } from "node:url";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as extractConfigFromVue } from "./file-Cxn4u9sA.mjs";
|
|
@@ -55,7 +55,7 @@ function resolveAutoRoutesMacroImportPath() {
|
|
|
55
55
|
}
|
|
56
56
|
async function resolveAutoRoutesInlineSnapshot(context) {
|
|
57
57
|
try {
|
|
58
|
-
const compilerContext = context ?? (await import("./getInstance-
|
|
58
|
+
const compilerContext = context ?? (await import("./getInstance-DnIAS47O.mjs")).getCompilerContext();
|
|
59
59
|
const service = compilerContext.autoRoutesService;
|
|
60
60
|
const reference = service?.getReference?.();
|
|
61
61
|
if (!compilerContext.runtimeState.autoRoutes.loadingAppConfig) await service?.ensureFresh?.();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as resolveHmrProfileJsonPath } from "./devProvider-Ci2il72x.mjs";
|
|
2
2
|
import { r as logger_default, t as colors } from "./logger-DGn5iEVN.mjs";
|
|
3
|
-
import { a as resolveIdeProjectRoot, o as shouldUseAutomatorProjectWrapper } from "./openIde-
|
|
3
|
+
import { a as resolveIdeProjectRoot, o as shouldUseAutomatorProjectWrapper } from "./openIde-CQSkUzpj.mjs";
|
|
4
4
|
import { t as readHmrProfileLines } from "./reader-wzPH_W8A.mjs";
|
|
5
5
|
import process from "node:process";
|
|
6
6
|
import { fs } from "@weapp-core/shared/fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createCompilerContextInstance } from "./createCompilerContextInstance-
|
|
1
|
+
import { t as createCompilerContextInstance } from "./createCompilerContextInstance-DuhtZY10.mjs";
|
|
2
2
|
// src/context/getInstance.ts
|
|
3
3
|
const compilerContextMap = /* @__PURE__ */ new Map();
|
|
4
4
|
const DEFAULT_KEY = "default";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as getCompilerContext } from "./getInstance-DWkKx8de.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { c as getDevServerCloseRecord, l as replaceDevServerClose, s as getDevShutdownScope } from "./lifecycle-Dt0rvANg.mjs";
|
|
2
|
-
import { C as createDevViteServer, T as createGlassEaselAnalyzeResult, k as createSharedBuildConfig } from "./createCompilerContextInstance-
|
|
2
|
+
import { C as createDevViteServer, T as createGlassEaselAnalyzeResult, k as createSharedBuildConfig } from "./createCompilerContextInstance-DuhtZY10.mjs";
|
|
3
3
|
import { r as logger_default, t as colors } from "./logger-DGn5iEVN.mjs";
|
|
4
4
|
import { a as resolveDashboardInstallation, r as ANALYZE_DASHBOARD_PACKAGE_NAME } from "./artifacts-TrTX9_jj.mjs";
|
|
5
5
|
import { t as loadDashboardTransportModule } from "./dashboardTransport-C9290QgS.mjs";
|
|
6
6
|
import { n as isRuntimeCategory, t as createAnalyzeBudgetCheck } from "./budget-_Mu-4GKn.mjs";
|
|
7
7
|
import { r as resolveAnalyzeHistoryMetadata, t as createAnalyzeMetadata } from "./metadata-HlDKtlsu.mjs";
|
|
8
|
-
import { i as resolveModuleSourceType, n as normalizeModuleId, r as resolveAssetSource, t as classifyPackage } from "./classifier-
|
|
8
|
+
import { i as resolveModuleSourceType, n as normalizeModuleId, r as resolveAssetSource, t as classifyPackage } from "./classifier-VON_whyW.mjs";
|
|
9
9
|
import process from "node:process";
|
|
10
10
|
import path, { posix } from "pathe";
|
|
11
11
|
import { readFileSync } from "node:fs";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as WeappCompilerOutputRequest, A as Ref, Ar as WEAPP_VITE_HOST_NAME, Br as WeappViteRuntime, C as LoadConfigOptions, D as MethodDefinitions, E as InlineConfig, F as RolldownPlugin, Fr as resolveWeappViteHostMeta, Gn as JsonMergeContext, Gr as getSupportedWeappVitePlatforms, Hr as WeappViteTargetInput, I as RolldownPluginOption, Ir as ResolveWeappViteTargetOptions, Jn as JsonMergeStrategy, Jr as resolveWeappViteTarget, Kn as JsonMergeFunction, Kr as getSupportedWeappViteTargetDescriptors, L as RolldownWatchOptions, Lr as ResolvedWeappViteTarget, M as RolldownBuild, Mr as applyWeappViteHostMeta, N as RolldownOptions, Nr as createWeappViteHostMeta, O as Plugin, P as RolldownOutput, Pr as isWeappViteHost, Q as WeappCompilerHmrRequest, R as RolldownWatcher, Rr as WEB_PLATFORM_ALIASES, S as CompilerContext, St as WeappViteConfig, T as ConfigEnv, Ur as WeappViteTargetKind, Vr as WeappViteTargetDescriptor, Wn as JsonConfig, Wr as WebPlatform, X as WeappCompilerHmrAsset, Z as WeappCompilerHmrPreparation, _ as definePageJson, _n as WxmlTransformNode, a as UserConfigFnNoEnvPlain, an as WxmlRemoveAttrRule, at as WeappCompilerPluginOption, bn as MultiPlatformProjectConfig, c as UserConfigFnPromise, cn as WxmlValidationContext, ct as WeappCompilerSourceClaim, d as Component, dn as WxmlAttribute, et as WeappCompilerPlugin, f as Page, fn as WxmlAttributeValue, g as defineComponentJson, gn as WxmlTransformContext, h as defineAppJson, hn as WxmlTransform, i as UserConfigFnNoEnv, it as WeappCompilerPluginFactory, j as ResolvedConfig, jr as WeappViteHostMeta, k as PluginOption, l as defineConfig, ln as WxmlValidationDiagnostic, lt as WeappCompilerSourceRequest, m as Theme, mn as WxmlSourceLocation, n as UserConfigExport, nt as WeappCompilerPluginContext, o as UserConfigFnObject, on as WxmlRemoveOptions, ot as WeappCompilerPluginPhase, p as Sitemap, pn as WxmlElementInfo, qn as JsonMergeStage, qr as isWebPlatform, r as UserConfigFn, rt as WeappCompilerPluginController, s as UserConfigFnObjectPlain, sn as WxmlValidate, st as WeappCompilerResourceKind, t as UserConfig, tt as WeappCompilerPluginCapabilities, u as App, un as WxmlValidationVisitor, ut as WeappCompilerTransformResult, v as defineSitemapJson, vn as WxmlTransformResult, w as ComputedDefinitions, xn as MultiPlatformProjectConfigs, y as defineThemeJson, yn as WxmlTransformVisitor, z as ViteDevServer, zr as WeappVitePlatform } from "./config-
|
|
1
|
+
import { $ as WeappCompilerOutputRequest, A as Ref, Ar as WEAPP_VITE_HOST_NAME, Br as WeappViteRuntime, C as LoadConfigOptions, D as MethodDefinitions, E as InlineConfig, F as RolldownPlugin, Fr as resolveWeappViteHostMeta, Gn as JsonMergeContext, Gr as getSupportedWeappVitePlatforms, Hr as WeappViteTargetInput, I as RolldownPluginOption, Ir as ResolveWeappViteTargetOptions, Jn as JsonMergeStrategy, Jr as resolveWeappViteTarget, Kn as JsonMergeFunction, Kr as getSupportedWeappViteTargetDescriptors, L as RolldownWatchOptions, Lr as ResolvedWeappViteTarget, M as RolldownBuild, Mr as applyWeappViteHostMeta, N as RolldownOptions, Nr as createWeappViteHostMeta, O as Plugin, P as RolldownOutput, Pr as isWeappViteHost, Q as WeappCompilerHmrRequest, R as RolldownWatcher, Rr as WEB_PLATFORM_ALIASES, S as CompilerContext, St as WeappViteConfig, T as ConfigEnv, Ur as WeappViteTargetKind, Vr as WeappViteTargetDescriptor, Wn as JsonConfig, Wr as WebPlatform, X as WeappCompilerHmrAsset, Z as WeappCompilerHmrPreparation, _ as definePageJson, _n as WxmlTransformNode, a as UserConfigFnNoEnvPlain, an as WxmlRemoveAttrRule, at as WeappCompilerPluginOption, bn as MultiPlatformProjectConfig, c as UserConfigFnPromise, cn as WxmlValidationContext, ct as WeappCompilerSourceClaim, d as Component, dn as WxmlAttribute, et as WeappCompilerPlugin, f as Page, fn as WxmlAttributeValue, g as defineComponentJson, gn as WxmlTransformContext, h as defineAppJson, hn as WxmlTransform, i as UserConfigFnNoEnv, it as WeappCompilerPluginFactory, j as ResolvedConfig, jr as WeappViteHostMeta, k as PluginOption, l as defineConfig, ln as WxmlValidationDiagnostic, lt as WeappCompilerSourceRequest, m as Theme, mn as WxmlSourceLocation, n as UserConfigExport, nt as WeappCompilerPluginContext, o as UserConfigFnObject, on as WxmlRemoveOptions, ot as WeappCompilerPluginPhase, p as Sitemap, pn as WxmlElementInfo, qn as JsonMergeStage, qr as isWebPlatform, r as UserConfigFn, rt as WeappCompilerPluginController, s as UserConfigFnObjectPlain, sn as WxmlValidate, st as WeappCompilerResourceKind, t as UserConfig, tt as WeappCompilerPluginCapabilities, u as App, un as WxmlValidationVisitor, ut as WeappCompilerTransformResult, v as defineSitemapJson, vn as WxmlTransformResult, w as ComputedDefinitions, xn as MultiPlatformProjectConfigs, y as defineThemeJson, yn as WxmlTransformVisitor, z as ViteDevServer, zr as WeappVitePlatform } from "./config-BdJmEsFT.mjs";
|
|
2
2
|
import { t as WeappI18nConfig } from "./types-e2BMP9NU.mjs";
|
|
3
3
|
import { a as LayoutHostContext, c as LayoutHostResolver, d as unregisterLayoutHosts, f as waitForLayoutHost, i as LayoutHostBridge, l as registerLayoutHosts, m as createWevuComponent, n as defineProps, o as LayoutHostEntry, p as WevuComponentOptions, r as setPageLayout, s as LayoutHostResolveOptions, t as defineEmits, u as resolveLayoutHost } from "./runtime-BL4RjBRa.mjs";
|
|
4
4
|
interface InitializeCompilerContextOptions extends Partial<LoadConfigOptions> {
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as defineConfig } from "./config-59ZWhCIf.mjs";
|
|
2
2
|
import { a as defineThemeJson, i as defineSitemapJson, n as defineComponentJson, r as definePageJson, t as defineAppJson } from "./json-Cvon2mw5.mjs";
|
|
3
|
-
import { t as createCompilerContext } from "./createContext-
|
|
3
|
+
import { t as createCompilerContext } from "./createContext-DwiJtr-L.mjs";
|
|
4
4
|
import { a as resolveWeappViteHostMeta, i as isWeappViteHost, n as applyWeappViteHostMeta, r as createWeappViteHostMeta, t as WEAPP_VITE_HOST_NAME } from "./pluginHost-vn8Vty1J.mjs";
|
|
5
5
|
import { a as resolveLayoutHost, c as createWevuComponent, i as registerLayoutHosts, n as defineProps, o as unregisterLayoutHosts, r as setPageLayout, s as waitForLayoutHost, t as defineEmits } from "./runtime-DDUCb7pP.mjs";
|
|
6
|
-
import { a as getSupportedWeappViteTargetDescriptors, i as getSupportedWeappVitePlatforms, o as isWebPlatform, r as WEB_PLATFORM_ALIASES, s as resolveWeappViteTarget } from "./createCompilerContextInstance-
|
|
6
|
+
import { a as getSupportedWeappViteTargetDescriptors, i as getSupportedWeappVitePlatforms, o as isWebPlatform, r as WEB_PLATFORM_ALIASES, s as resolveWeappViteTarget } from "./createCompilerContextInstance-DuhtZY10.mjs";
|
|
7
7
|
export { WEAPP_VITE_HOST_NAME, WEB_PLATFORM_ALIASES, applyWeappViteHostMeta, createCompilerContext, createWeappViteHostMeta, createWevuComponent, defineAppJson, defineComponentJson, defineConfig, defineEmits, definePageJson, defineProps, defineSitemapJson, defineThemeJson, getSupportedWeappVitePlatforms, getSupportedWeappViteTargetDescriptors, isWeappViteHost, isWebPlatform, registerLayoutHosts, resolveLayoutHost, resolveWeappViteHostMeta, resolveWeappViteTarget, setPageLayout, unregisterLayoutHosts, waitForLayoutHost };
|
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-
|
|
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-BdJmEsFT.mjs";
|
|
2
2
|
export { type App, type Component, type Page, type Sitemap, type Theme, defineAppJson, defineComponentJson, definePageJson, defineSitemapJson, defineThemeJson };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as stripLeadingSlashes, r as normalizeRelativePath } from "./path-E1OjBJAl.mjs";
|
|
2
|
-
import { c as findJsEntry, d as findVueEntry } from "./file-
|
|
2
|
+
import { c as findJsEntry, d as findVueEntry } from "./file-Cxn4u9sA.mjs";
|
|
3
3
|
import path from "pathe";
|
|
4
4
|
import { isObject, removeExtensionDeep } from "@weapp-core/shared";
|
|
5
5
|
import { fs } from "@weapp-core/shared/fs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as loadConfig } from "./loadConfig-DRKB3PQi.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as createCjsConfigLoadError, C as loadViteConfigFile, t as resolveWeappConfigFile } from "./utils-
|
|
1
|
+
import { A as createCjsConfigLoadError, C as loadViteConfigFile, t as resolveWeappConfigFile } from "./utils-o1Qx47Zq.mjs";
|
|
2
2
|
import process from "node:process";
|
|
3
3
|
import path from "pathe";
|
|
4
4
|
import { defu } from "@weapp-core/shared";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as getProjectConfigFileName } from "./utils-
|
|
1
|
+
import { s as getProjectConfigFileName } from "./utils-o1Qx47Zq.mjs";
|
|
2
2
|
import { r as logger_default, t as colors } from "./logger-DGn5iEVN.mjs";
|
|
3
3
|
import process from "node:process";
|
|
4
4
|
import { resolveCommand } from "package-manager-detector/commands";
|
|
@@ -77,7 +77,7 @@ function registerAcceptCommand(cli) {
|
|
|
77
77
|
// src/cli/commands/mcp/index.ts
|
|
78
78
|
function registerMcpCommand(cli) {
|
|
79
79
|
cli.command("mcp [...args]", "start weapp-vite MCP server or manage MCP client onboarding").option("--transport <type>", "[string] stdio | streamable-http | command | http", { default: "stdio" }).option("--host <host>", "[string] streamable-http host").option("--port <port>", "[number] streamable-http port").option("--endpoint <path>", "[string] streamable-http endpoint path").option("--rest-endpoint <path>", "[string] streamable-http REST runtime endpoint path").option("--no-rest", "[boolean] disable streamable-http REST runtime endpoints").option("--unref", "[boolean] unref HTTP server to not block process exit").option("--url <url>", "[string] explicit HTTP MCP url").option("--workspace-root <path>", "[string] workspace root path, defaults to cwd").option("-y, --yes", "[boolean] write config without prompt").action(async (args, options) => {
|
|
80
|
-
const { runMcpCommand } = await import("./action-
|
|
80
|
+
const { runMcpCommand } = await import("./action-Bq0uJvXJ.mjs");
|
|
81
81
|
return runMcpCommand(args, options);
|
|
82
82
|
});
|
|
83
83
|
}
|
package/dist/mcp.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ut as WeappMcpConfig } from "./config-
|
|
1
|
+
import { Ut as WeappMcpConfig } from "./config-BdJmEsFT.mjs";
|
|
2
2
|
import { DEFAULT_MCP_ENDPOINT, DEFAULT_MCP_HOST, DEFAULT_MCP_PORT, DEFAULT_RUNTIME_REST_ENDPOINT } from "@weapp-core/constants";
|
|
3
3
|
import { CreateServerOptions, McpServerHandle, StartMcpServerOptions, createWeappViteMcpServer as createWeappViteMcpServer$1 } from "@weapp-vite/mcp";
|
|
4
4
|
/** 创建服务时才加载 MCP 运行时;配置解析与公开常量保持同步。 */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as createCompilerContext } from "./createContext-
|
|
1
|
+
import { t as createCompilerContext } from "./createContext-DwiJtr-L.mjs";
|
|
2
2
|
import { r as logger_default, t as colors } from "./logger-DGn5iEVN.mjs";
|
|
3
3
|
import { n as getDefaultIdeProjectRoot, w as shouldPassPlatformArgToIdeOpen } from "./platform-BiMpsZIb.mjs";
|
|
4
|
-
import { i as resolveRuntimeTargets, t as createInlineConfig } from "./runtime-
|
|
4
|
+
import { i as resolveRuntimeTargets, t as createInlineConfig } from "./runtime-D1ziOILL.mjs";
|
|
5
5
|
import process from "node:process";
|
|
6
6
|
import path from "pathe";
|
|
7
7
|
import fs from "node:fs";
|
|
@@ -1618,6 +1618,6 @@ function resolveSharedChunkName(options) {
|
|
|
1618
1618
|
return "common";
|
|
1619
1619
|
}
|
|
1620
1620
|
// package.json
|
|
1621
|
-
var version = "7.11.0-dev.
|
|
1621
|
+
var version = "7.11.0-dev.20261113.1";
|
|
1622
1622
|
var engines = { "node": "^22.23.4 || ^24.22.1 || >=26.12.1" };
|
|
1623
1623
|
export { isTemplateImportTag as A, shouldNormalizeScriptModuleAttributes as B, normalizeEncodedSourceMapLike as C, platformTemplateParser as D, outputTemplateParser as E, isScriptModuleImportAttr as F, isScriptModuleTagName as I, normalizeImportSjsAttributes as L, getNativeScriptModuleByTag as M, getScriptModuleImportAttrs as N, getTemplateImportAttrs as O, getScriptModuleTagNames as P, resolveScriptModuleTagByPlatform as R, labelSourceMapInput as S, configuredTemplateParser as T, replaceOutputChunkCode as _, DEFAULT_SHARED_CHUNK_STRATEGY as a, syncOutputChunkSourceMapAssets as b, applyRuntimeChunkLocalization as c, appendOutputChunkCode as d, applyAtomicMagicStringChunkRewrite as f, prependOutputChunkCode as g, editOutputChunkCode as h, applySharedChunkStrategy as i, shouldNormalizeTemplateImportSource as j, isTemplateImportAttr as k, assertModuleScopedToRoot as l, applyOutputChunkTransform as m, version as n, SHARED_CHUNK_VIRTUAL_PREFIX as o, applyMagicStringChunkRewrite as p, resolveSharedChunkName as r, SUB_PACKAGE_SHARED_DIR as s, engines as t, resolveSubPackagePrefix as u, replaceOutputChunkCodeRanges as v, resetTakeImportRegistry as w, composeSourceMaps as x, resolveOutputChunkTransformCode as y, resolveScriptModuleTagName as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as resolveBackendExecution } from "./createCompilerContextInstance-
|
|
1
|
+
import { l as resolveBackendExecution } from "./createCompilerContextInstance-DuhtZY10.mjs";
|
|
2
2
|
import { r as logger_default, t as colors } from "./logger-DGn5iEVN.mjs";
|
|
3
3
|
import { defu } from "@weapp-core/shared";
|
|
4
4
|
// src/cli/runtime.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { B as resolveNpmBuildCandidateDependenciesSync, H as resolveNpmDistDirName, W as resolveTargetDependencies, h as attachDevModuleGraphHost, z as resolveMainBuildDependencyPatterns } from "./devProvider-Ci2il72x.mjs";
|
|
2
|
-
import { A as getHmrRuntimeCapabilityFallback, B as attachHmrRuntimeSession, D as createStatefulHmrHostPlugins, E as attachStatefulHmrHost, F as getInitialBuildInputObservation, I as prepareClassicIdeConfig, L as findSkylineRendererFiles, O as getStatefulHmrHost, P as syncManagedTsconfigFiles, R as resolveHmrRuntimeDecision, S as createOxcRuntimeSupport, V as createHmrRuntimeSession, _ as StatefulHmrSnapshotHandoff, b as getPackNpmRelationList, d as CompilerSession, f as buildStatefulHmrSnapshot, g as prepareStatefulClassicHandoff, h as captureWatchDependencies, k as createSharedBuildConfig, m as checkAppWorkersOptions, p as prepareStatefulHmrSnapshot, u as linkClassicSettlement, v as clearStatefulHmrSnapshot, w as compileIgnored, x as createPackageBuilder, y as offerStatefulHmrSnapshot, z as clearUniAppCompatibilitySession } from "./createCompilerContextInstance-
|
|
2
|
+
import { A as getHmrRuntimeCapabilityFallback, B as attachHmrRuntimeSession, D as createStatefulHmrHostPlugins, E as attachStatefulHmrHost, F as getInitialBuildInputObservation, I as prepareClassicIdeConfig, L as findSkylineRendererFiles, O as getStatefulHmrHost, P as syncManagedTsconfigFiles, R as resolveHmrRuntimeDecision, S as createOxcRuntimeSupport, V as createHmrRuntimeSession, _ as StatefulHmrSnapshotHandoff, b as getPackNpmRelationList, d as CompilerSession, f as buildStatefulHmrSnapshot, g as prepareStatefulClassicHandoff, h as captureWatchDependencies, k as createSharedBuildConfig, m as checkAppWorkersOptions, p as prepareStatefulHmrSnapshot, u as linkClassicSettlement, v as clearStatefulHmrSnapshot, w as compileIgnored, x as createPackageBuilder, y as offerStatefulHmrSnapshot, z as clearUniAppCompatibilitySession } from "./createCompilerContextInstance-DuhtZY10.mjs";
|
|
3
3
|
import { t as resolveRealpath } from "./realpathScope-DwlLaCk3.mjs";
|
|
4
|
-
import { g as pruneOwnedAssetFiles } from "./utils-
|
|
4
|
+
import { g as pruneOwnedAssetFiles } from "./utils-o1Qx47Zq.mjs";
|
|
5
5
|
import { n as loadHostRolldownBuild } from "./engine-Mnnm_ALP.mjs";
|
|
6
6
|
import process from "node:process";
|
|
7
7
|
import path from "pathe";
|
package/dist/test.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as parseSidecarModuleId, i as parseLogicalEntryId } from "./protocol-HiSJRrSO.mjs";
|
|
2
|
-
import { d as CompilerSession, h as captureWatchDependencies } from "./createCompilerContextInstance-
|
|
2
|
+
import { d as CompilerSession, h as captureWatchDependencies } from "./createCompilerContextInstance-DuhtZY10.mjs";
|
|
3
3
|
import { M as createSidecarWatchOptions, O as createFileWatcher, j as deduplicateCleanupErrors } from "./devProvider-Ci2il72x.mjs";
|
|
4
4
|
import { n as normalizePath, t as isPathInside } from "./path-E1OjBJAl.mjs";
|
|
5
5
|
import process from "node:process";
|
package/dist/types.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as Resolver } from "./index-SnaW3cvA.mjs";
|
|
2
2
|
import { n as AutoRoutesSubPackage, t as AutoRoutes } from "./routes-DvAFX29h.mjs";
|
|
3
|
-
import { $ as WeappCompilerOutputRequest, $n as NpmPackageFilesConfig, $t as WeappUniAppConfig, A as Ref, An as GenerateDirsOptions, At as WeappAppPreludeConfig, B as BindingErrorLike, Bn as GenerateTemplateInlineSource, Br as WeappViteRuntime, Bt as WeappInjectWeapiConfig, Cn as AliasOptions, Cr as WeappLibVueTscOptions, Ct as AutoImportComponents, D as MethodDefinitions, Dn as CopyGlobs, Dr as WeappManagedSharedTsconfigConfig, Dt as HandleWxmlOptions, E as InlineConfig, En as ChunksConfig, Er as WeappManagedServerTsconfigConfig, Et as EnhanceWxmlOptions, F as RolldownPlugin, Fn as GenerateTemplate, Ft as WeappBuildScopeConfig, G as EntryJsonFragment, Gn as JsonMergeContext, Gt as WeappPreloadNetwork, H as BaseEntry, Hn as GenerateTemplatesConfig, Ht as WeappInjectWebRuntimeGlobalsTarget, I as RolldownPluginOption, In as GenerateTemplateContext, It as WeappBuildScopeObjectConfig, J as ScanComponentItem, Jn as JsonMergeStrategy, Jt as WeappReactConfig, K as PageEntry, Kn as JsonMergeFunction, Kt as WeappPreloadRule, L as RolldownWatchOptions, Ln as GenerateTemplateEntry, Lt as WeappHmrConfig, M as RolldownBuild, Mn as GenerateFileType, Mt as WeappAutoRoutesConfig, N as RolldownOptions, Nn as GenerateFilenamesOptions, Nt as WeappAutoRoutesInclude, O as Plugin, On as CopyOptions, Or as WeappManagedTypeScriptConfig, Ot as MultiPlatformConfig, P as RolldownOutput, Pn as GenerateOptions, Pt as WeappAutoRoutesIncludePattern, Q as WeappCompilerHmrRequest, Qn as NpmMainPackageConfig, Qt as WeappSubPackageConfig, R as RolldownWatcher, Rn as GenerateTemplateFactory, Rt as WeappInjectRequestGlobalsConfig, Sn as Alias, Sr as WeappLibInternalDtsOptions, St as WeappViteConfig, T as ConfigEnv, Tn as BuildNpmPackageMeta, Tr as WeappManagedNodeTsconfigConfig, Tt as EnhanceOptions, U as ComponentEntry, Un as JsFormat, Ut as WeappMcpConfig, V as AppEntry, Vn as GenerateTemplateScope, Vt as WeappInjectWebRuntimeGlobalsConfig, W as Entry, Wn as JsonConfig, Wt as WeappNpmConfig, X as WeappCompilerHmrAsset, Xn as NpmBuildOptions, Xt as WeappRouteRule, Y as WxmlDep, Yn as MpPlatform, Yt as WeappRequestRuntimeConfig, Z as WeappCompilerHmrPreparation, Zn as NpmDependencyPattern, Zt as WeappRouteRules, _n as WxmlTransformNode, _r as WeappLibComponentJson, _t as WeappDebugConfig, an as WxmlRemoveAttrRule, ar as SharedChunkMode, at as WeappCompilerPluginOption, b as ChangeEvent, bn as MultiPlatformProjectConfig, br as WeappLibEntryContext, bt as WeappTailwindcssOptions, cn as WxmlValidationContext, cr as StyleConfigEntry, ct as WeappCompilerSourceClaim, dn as WxmlAttribute, dr as StyleScope, dt as ProjectConfig, en as WeappVueConfig, er as NpmPluginPackageConfig, et as WeappCompilerPlugin, fn as WxmlAttributeValue, fr as SubPackage, ft as SubPackageMetaValue, gn as WxmlTransformContext, gr as SubPackageStyleScope, gt as WeappAnalyzeHistoryConfig, hn as WxmlTransform, hr as SubPackageStyleEntry, ht as WeappAnalyzeConfig, in as WeappWorkerConfig, ir as SharedChunkDynamicImports, it as WeappCompilerPluginFactory, j as ResolvedConfig, jn as GenerateExtensionsOptions, jr as WeappViteHostMeta, jt as WeappAppPreludeMode, k as PluginOption, kn as DeprecatedInlineDynamicImports, kr as WeappWebConfig, kt as ScanWxmlOptions, ln as WxmlValidationDiagnostic, lr as StyleConfigObject, lt as WeappCompilerSourceRequest, mn as WxmlSourceLocation, mr as SubPackageStyleConfigObject, mt as WeappAnalyzeBudgetConfig, nn as WeappWebRuntimeConfig, nr as NpmSubPackageConfig, nt as WeappCompilerPluginContext, on as WxmlRemoveOptions, or as SharedChunkOverride, ot as WeappCompilerPluginPhase, pn as WxmlElementInfo, pr as SubPackageStyleConfigEntry, pt as UserConfig, q as ComponentsMap, qn as JsonMergeStage, qt as WeappReactCompilerConfig, rn as WeappWevuConfig, rr as ResolvedAlias, rt as WeappCompilerPluginController, sn as WxmlValidate, sr as SharedChunkStrategy, st as WeappCompilerResourceKind, tn as WeappVueTemplateConfig, tr as NpmStrategy, tt as WeappCompilerPluginCapabilities, un as WxmlValidationVisitor, ur as StyleEntry, ut as WeappCompilerTransformResult, vn as WxmlTransformResult, vr as WeappLibConfig, vt as WeappForwardConsoleConfig, w as ComputedDefinitions, wn as AlipayNpmMode, wr as WeappManagedAppTsconfigConfig, wt as AutoImportComponentsOption, x as WeappVitePluginApi, xn as MultiPlatformProjectConfigs, xr as WeappLibFileName, xt as WeappUploadConfig, yn as WxmlTransformVisitor, yr as WeappLibDtsOptions, yt as WeappForwardConsoleLogLevel, z as ViteDevServer, zn as GenerateTemplateFileSource, zt as WeappInjectRequestGlobalsTarget } from "./config-
|
|
3
|
+
import { $ as WeappCompilerOutputRequest, $n as NpmPackageFilesConfig, $t as WeappUniAppConfig, A as Ref, An as GenerateDirsOptions, At as WeappAppPreludeConfig, B as BindingErrorLike, Bn as GenerateTemplateInlineSource, Br as WeappViteRuntime, Bt as WeappInjectWeapiConfig, Cn as AliasOptions, Cr as WeappLibVueTscOptions, Ct as AutoImportComponents, D as MethodDefinitions, Dn as CopyGlobs, Dr as WeappManagedSharedTsconfigConfig, Dt as HandleWxmlOptions, E as InlineConfig, En as ChunksConfig, Er as WeappManagedServerTsconfigConfig, Et as EnhanceWxmlOptions, F as RolldownPlugin, Fn as GenerateTemplate, Ft as WeappBuildScopeConfig, G as EntryJsonFragment, Gn as JsonMergeContext, Gt as WeappPreloadNetwork, H as BaseEntry, Hn as GenerateTemplatesConfig, Ht as WeappInjectWebRuntimeGlobalsTarget, I as RolldownPluginOption, In as GenerateTemplateContext, It as WeappBuildScopeObjectConfig, J as ScanComponentItem, Jn as JsonMergeStrategy, Jt as WeappReactConfig, K as PageEntry, Kn as JsonMergeFunction, Kt as WeappPreloadRule, L as RolldownWatchOptions, Ln as GenerateTemplateEntry, Lt as WeappHmrConfig, M as RolldownBuild, Mn as GenerateFileType, Mt as WeappAutoRoutesConfig, N as RolldownOptions, Nn as GenerateFilenamesOptions, Nt as WeappAutoRoutesInclude, O as Plugin, On as CopyOptions, Or as WeappManagedTypeScriptConfig, Ot as MultiPlatformConfig, P as RolldownOutput, Pn as GenerateOptions, Pt as WeappAutoRoutesIncludePattern, Q as WeappCompilerHmrRequest, Qn as NpmMainPackageConfig, Qt as WeappSubPackageConfig, R as RolldownWatcher, Rn as GenerateTemplateFactory, Rt as WeappInjectRequestGlobalsConfig, Sn as Alias, Sr as WeappLibInternalDtsOptions, St as WeappViteConfig, T as ConfigEnv, Tn as BuildNpmPackageMeta, Tr as WeappManagedNodeTsconfigConfig, Tt as EnhanceOptions, U as ComponentEntry, Un as JsFormat, Ut as WeappMcpConfig, V as AppEntry, Vn as GenerateTemplateScope, Vt as WeappInjectWebRuntimeGlobalsConfig, W as Entry, Wn as JsonConfig, Wt as WeappNpmConfig, X as WeappCompilerHmrAsset, Xn as NpmBuildOptions, Xt as WeappRouteRule, Y as WxmlDep, Yn as MpPlatform, Yt as WeappRequestRuntimeConfig, Z as WeappCompilerHmrPreparation, Zn as NpmDependencyPattern, Zt as WeappRouteRules, _n as WxmlTransformNode, _r as WeappLibComponentJson, _t as WeappDebugConfig, an as WxmlRemoveAttrRule, ar as SharedChunkMode, at as WeappCompilerPluginOption, b as ChangeEvent, bn as MultiPlatformProjectConfig, br as WeappLibEntryContext, bt as WeappTailwindcssOptions, cn as WxmlValidationContext, cr as StyleConfigEntry, ct as WeappCompilerSourceClaim, dn as WxmlAttribute, dr as StyleScope, dt as ProjectConfig, en as WeappVueConfig, er as NpmPluginPackageConfig, et as WeappCompilerPlugin, fn as WxmlAttributeValue, fr as SubPackage, ft as SubPackageMetaValue, gn as WxmlTransformContext, gr as SubPackageStyleScope, gt as WeappAnalyzeHistoryConfig, hn as WxmlTransform, hr as SubPackageStyleEntry, ht as WeappAnalyzeConfig, in as WeappWorkerConfig, ir as SharedChunkDynamicImports, it as WeappCompilerPluginFactory, j as ResolvedConfig, jn as GenerateExtensionsOptions, jr as WeappViteHostMeta, jt as WeappAppPreludeMode, k as PluginOption, kn as DeprecatedInlineDynamicImports, kr as WeappWebConfig, kt as ScanWxmlOptions, ln as WxmlValidationDiagnostic, lr as StyleConfigObject, lt as WeappCompilerSourceRequest, mn as WxmlSourceLocation, mr as SubPackageStyleConfigObject, mt as WeappAnalyzeBudgetConfig, nn as WeappWebRuntimeConfig, nr as NpmSubPackageConfig, nt as WeappCompilerPluginContext, on as WxmlRemoveOptions, or as SharedChunkOverride, ot as WeappCompilerPluginPhase, pn as WxmlElementInfo, pr as SubPackageStyleConfigEntry, pt as UserConfig, q as ComponentsMap, qn as JsonMergeStage, qt as WeappReactCompilerConfig, rn as WeappWevuConfig, rr as ResolvedAlias, rt as WeappCompilerPluginController, sn as WxmlValidate, sr as SharedChunkStrategy, st as WeappCompilerResourceKind, tn as WeappVueTemplateConfig, tr as NpmStrategy, tt as WeappCompilerPluginCapabilities, un as WxmlValidationVisitor, ur as StyleEntry, ut as WeappCompilerTransformResult, vn as WxmlTransformResult, vr as WeappLibConfig, vt as WeappForwardConsoleConfig, w as ComputedDefinitions, wn as AlipayNpmMode, wr as WeappManagedAppTsconfigConfig, wt as AutoImportComponentsOption, x as WeappVitePluginApi, xn as MultiPlatformProjectConfigs, xr as WeappLibFileName, xt as WeappUploadConfig, yn as WxmlTransformVisitor, yr as WeappLibDtsOptions, yt as WeappForwardConsoleLogLevel, z as ViteDevServer, zn as GenerateTemplateFileSource, zt as WeappInjectRequestGlobalsTarget } from "./config-BdJmEsFT.mjs";
|
|
4
4
|
import { t as WeappI18nConfig } from "./types-e2BMP9NU.mjs";
|
|
5
5
|
export { Alias, AliasOptions, AlipayNpmMode, AppEntry, AutoImportComponents, AutoImportComponentsOption, AutoRoutes, AutoRoutesSubPackage, BaseEntry, BindingErrorLike, BuildNpmPackageMeta, ChangeEvent, ChunksConfig, ComponentEntry, ComponentsMap, type ComputedDefinitions, type ConfigEnv, CopyGlobs, CopyOptions, DeprecatedInlineDynamicImports, EnhanceOptions, EnhanceWxmlOptions, Entry, EntryJsonFragment, GenerateDirsOptions, GenerateExtensionsOptions, GenerateFileType, GenerateFilenamesOptions, GenerateOptions, GenerateTemplate, GenerateTemplateContext, GenerateTemplateEntry, GenerateTemplateFactory, GenerateTemplateFileSource, GenerateTemplateInlineSource, GenerateTemplateScope, GenerateTemplatesConfig, HandleWxmlOptions, type InlineConfig, JsFormat, type JsonConfig, type JsonMergeContext, type JsonMergeFunction, type JsonMergeStage, type JsonMergeStrategy, type MethodDefinitions, MpPlatform, MultiPlatformConfig, MultiPlatformProjectConfig, MultiPlatformProjectConfigs, NpmBuildOptions, NpmDependencyPattern, NpmMainPackageConfig, NpmPackageFilesConfig, 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, StyleConfigEntry, StyleConfigObject, StyleEntry, StyleScope, SubPackage, SubPackageMetaValue, SubPackageStyleConfigEntry, SubPackageStyleConfigObject, SubPackageStyleEntry, SubPackageStyleScope, UserConfig, type ViteDevServer, WeappAnalyzeBudgetConfig, WeappAnalyzeConfig, WeappAnalyzeHistoryConfig, WeappAppPreludeConfig, WeappAppPreludeMode, WeappAutoRoutesConfig, WeappAutoRoutesInclude, WeappAutoRoutesIncludePattern, WeappBuildScopeConfig, WeappBuildScopeObjectConfig, type WeappCompilerHmrAsset, type WeappCompilerHmrPreparation, type WeappCompilerHmrRequest, WeappCompilerOutputRequest, WeappCompilerPlugin, WeappCompilerPluginCapabilities, WeappCompilerPluginContext, WeappCompilerPluginController, WeappCompilerPluginFactory, WeappCompilerPluginOption, WeappCompilerPluginPhase, WeappCompilerResourceKind, WeappCompilerSourceClaim, WeappCompilerSourceRequest, WeappCompilerTransformResult, WeappDebugConfig, WeappForwardConsoleConfig, WeappForwardConsoleLogLevel, WeappHmrConfig, type WeappI18nConfig, WeappInjectRequestGlobalsConfig, WeappInjectRequestGlobalsTarget, WeappInjectWeapiConfig, WeappInjectWebRuntimeGlobalsConfig, WeappInjectWebRuntimeGlobalsTarget, WeappLibComponentJson, WeappLibConfig, WeappLibDtsOptions, WeappLibEntryContext, WeappLibFileName, WeappLibInternalDtsOptions, WeappLibVueTscOptions, WeappManagedAppTsconfigConfig, WeappManagedNodeTsconfigConfig, WeappManagedServerTsconfigConfig, WeappManagedSharedTsconfigConfig, WeappManagedTypeScriptConfig, WeappMcpConfig, WeappNpmConfig, WeappPreloadNetwork, WeappPreloadRule, WeappReactCompilerConfig, WeappReactConfig, WeappRequestRuntimeConfig, WeappRouteRule, WeappRouteRules, WeappSubPackageConfig, WeappTailwindcssOptions, WeappUniAppConfig, WeappUploadConfig, WeappViteConfig, type WeappViteHostMeta, WeappVitePluginApi, type WeappViteRuntime, WeappVueConfig, WeappVueTemplateConfig, WeappWebConfig, WeappWebRuntimeConfig, WeappWevuConfig, WeappWorkerConfig, WxmlAttribute, WxmlAttributeValue, WxmlDep, WxmlElementInfo, WxmlRemoveAttrRule, WxmlRemoveOptions, WxmlSourceLocation, WxmlTransform, WxmlTransformContext, WxmlTransformNode, WxmlTransformResult, WxmlTransformVisitor, WxmlValidate, WxmlValidationContext, WxmlValidationDiagnostic, WxmlValidationVisitor };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as scriptExtensions, s as vueExtensions } from "./constants-BOe8mgqL.mjs";
|
|
2
|
-
import { o as changeFileExtension } from "./file-
|
|
2
|
+
import { o as changeFileExtension } from "./file-Cxn4u9sA.mjs";
|
|
3
3
|
import { S as shouldNormalizeUsingComponents, l as getProjectPlatformOptions, p as normalizePlatformNpmImportPath, v as shouldFillComponentGenericsDefault, x as shouldNormalizePlatformNpmImportPath } from "./platform-BiMpsZIb.mjs";
|
|
4
4
|
import { i as normalizeRoot, s as toPosixPath } from "./path-E1OjBJAl.mjs";
|
|
5
5
|
import { n as loadHostRolldownBuild } from "./engine-Mnnm_ALP.mjs";
|
package/dist/vite.d.mts
CHANGED
package/dist/vite.mjs
CHANGED
|
@@ -227,7 +227,7 @@ function weapp() {
|
|
|
227
227
|
...config,
|
|
228
228
|
plugins: serveRequested ? userPlugins : []
|
|
229
229
|
};
|
|
230
|
-
const { WeappBuildSession } = await import("./session-
|
|
230
|
+
const { WeappBuildSession } = await import("./session-DCuCyCdb.mjs");
|
|
231
231
|
session = new WeappBuildSession(takeHostConfigRestartData(inheritedLifecycle, hmrRuntimeSessionKey));
|
|
232
232
|
try {
|
|
233
233
|
const fallbackBeforePrepare = session.hmrRuntimeSession.fallback;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weapp-vite",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.11.0-dev.
|
|
4
|
+
"version": "7.11.0-dev.20261113.1",
|
|
5
5
|
"description": "weapp-vite 一个现代化的小程序打包工具",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -181,26 +181,26 @@
|
|
|
181
181
|
"@volar/language-service": "^2.4.31",
|
|
182
182
|
"@volar/typescript": "^2.4.31",
|
|
183
183
|
"@vue/language-core": "^3.3.14",
|
|
184
|
-
"@weapp-core/constants": "0.
|
|
185
|
-
"@weapp-core/init": "6.1.3-dev.
|
|
186
|
-
"@weapp-core/logger": "3.2.3-dev.
|
|
187
|
-
"@weapp-core/schematics": "6.3.3-dev.
|
|
188
|
-
"@weapp-core/shared": "3.4.3-dev.
|
|
184
|
+
"@weapp-core/constants": "0.6.0-dev.20261113.1",
|
|
185
|
+
"@weapp-core/init": "6.1.3-dev.20261113.1",
|
|
186
|
+
"@weapp-core/logger": "3.2.3-dev.20261113.1",
|
|
187
|
+
"@weapp-core/schematics": "6.3.3-dev.20261113.1",
|
|
188
|
+
"@weapp-core/shared": "3.4.3-dev.20261113.1",
|
|
189
189
|
"@weapp-tailwindcss/engine": "0.1.8",
|
|
190
|
-
"@weapp-vite/acceptance": "0.2.3-dev.
|
|
191
|
-
"@weapp-vite/ast": "7.11.0-dev.
|
|
192
|
-
"@weapp-vite/eslint": "0.3.3-dev.
|
|
193
|
-
"@weapp-vite/hmr": "0.3.3-dev.
|
|
194
|
-
"@weapp-vite/i18n": "0.3.5-dev.
|
|
195
|
-
"@weapp-vite/language-service": "0.1.4-dev.
|
|
196
|
-
"@weapp-vite/mcp": "2.2.5-dev.
|
|
197
|
-
"@weapp-vite/miniprogram-automator": "1.5.3-dev.
|
|
198
|
-
"@weapp-vite/tailwindcss": "1.1.3-dev.
|
|
199
|
-
"@weapp-vite/volar": "2.2.3-dev.
|
|
200
|
-
"@weapp-vite/web": "2.2.4-dev.
|
|
201
|
-
"@weapp-vite/wxml": "0.0.1-dev.
|
|
202
|
-
"@wevu/api": "0.4.
|
|
203
|
-
"@wevu/web-apis": "1.5.1-dev.
|
|
190
|
+
"@weapp-vite/acceptance": "0.2.3-dev.20261113.1",
|
|
191
|
+
"@weapp-vite/ast": "7.11.0-dev.20261113.1",
|
|
192
|
+
"@weapp-vite/eslint": "0.3.3-dev.20261113.1",
|
|
193
|
+
"@weapp-vite/hmr": "0.3.3-dev.20261113.1",
|
|
194
|
+
"@weapp-vite/i18n": "0.3.5-dev.20261113.1",
|
|
195
|
+
"@weapp-vite/language-service": "0.1.4-dev.20261113.1",
|
|
196
|
+
"@weapp-vite/mcp": "2.2.5-dev.20261113.1",
|
|
197
|
+
"@weapp-vite/miniprogram-automator": "1.5.3-dev.20261113.1",
|
|
198
|
+
"@weapp-vite/tailwindcss": "1.1.3-dev.20261113.1",
|
|
199
|
+
"@weapp-vite/volar": "2.2.3-dev.20261113.1",
|
|
200
|
+
"@weapp-vite/web": "2.2.4-dev.20261113.1",
|
|
201
|
+
"@weapp-vite/wxml": "0.0.1-dev.20261113.1",
|
|
202
|
+
"@wevu/api": "0.4.4-dev.20261113.1",
|
|
203
|
+
"@wevu/web-apis": "1.5.1-dev.20261113.1",
|
|
204
204
|
"cac": "^7.1.0",
|
|
205
205
|
"chokidar": "^6.0.0",
|
|
206
206
|
"comment-json": "^5.0.0",
|
|
@@ -226,19 +226,19 @@
|
|
|
226
226
|
"resolve.exports": "2.0.4",
|
|
227
227
|
"rolldown": "1.2.16",
|
|
228
228
|
"rolldown-plugin-dts": "0.30.1",
|
|
229
|
-
"rolldown-require": "2.1.3-dev.
|
|
229
|
+
"rolldown-require": "2.1.3-dev.20261113.1",
|
|
230
230
|
"semver": "^7.8.6",
|
|
231
231
|
"tinyexec": "^1.3.1",
|
|
232
232
|
"typescript": "^6.0.3",
|
|
233
233
|
"vite": "8.3.5",
|
|
234
|
-
"vite-plugin-performance": "2.1.3-dev.
|
|
234
|
+
"vite-plugin-performance": "2.1.3-dev.20261113.1",
|
|
235
235
|
"vite-tsconfig-paths": "^7.0.0-alpha.3",
|
|
236
236
|
"vue": "^3.5.45",
|
|
237
237
|
"vue-eslint-parser": "^10.4.2",
|
|
238
238
|
"vue-tsc": "^3.3.14",
|
|
239
|
-
"weapp-ide-cli": "6.4.4-dev.
|
|
239
|
+
"weapp-ide-cli": "6.4.4-dev.20261113.1",
|
|
240
240
|
"weapp-tailwindcss": "^5.7.4",
|
|
241
|
-
"wevu": "7.11.0-dev.
|
|
241
|
+
"wevu": "7.11.0-dev.20261113.1",
|
|
242
242
|
"zod": "^4.6.7"
|
|
243
243
|
},
|
|
244
244
|
"optionalDependencies": {
|
|
@@ -260,9 +260,9 @@
|
|
|
260
260
|
},
|
|
261
261
|
"repoctlSnapshot": {
|
|
262
262
|
"kind": "nightly",
|
|
263
|
-
"commit": "
|
|
264
|
-
"buildId": "
|
|
265
|
-
"identityKey": "
|
|
263
|
+
"commit": "87085f39925032910854283fc825b418cf1a0e01",
|
|
264
|
+
"buildId": "43353385691-1",
|
|
265
|
+
"identityKey": "55f6d7d3573ac82471235cda01f5e18cfd9d9a5a308b261bcfd16f0e7c25c522",
|
|
266
266
|
"tag": "snapshot-nightly"
|
|
267
267
|
},
|
|
268
268
|
"scripts": {
|
package/dist/file-CMgM0KUU.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { t as extractConfigFromVue } from "./file-BPUFGznA.mjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { t as getCompilerContext } from "./getInstance-XYRHCDAM.mjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { t as loadConfig } from "./loadConfig-CG-2IoK_.mjs";
|