weapp-vite 6.16.41 → 6.16.42
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/auto-routes.mjs +1 -1
- package/dist/cli.mjs +5 -5
- package/dist/{createContext-BVsIMQLE.mjs → createContext-BjCo8Rn4.mjs} +14500 -14448
- package/dist/file-C00jTD86.mjs +2 -0
- package/dist/{file-bzejjf0g.mjs → file-Cm-gX3xL.mjs} +1 -1
- package/dist/getInstance-BuRfAoqK.mjs +2 -0
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
- package/dist/file-CHPrnwzT.mjs +0 -2
- package/dist/getInstance-cX_-OJXD.mjs +0 -2
package/dist/auto-routes.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getRouteRuntimeGlobalKeys,
|
|
1
|
+
import { g as getRouteRuntimeGlobalKeys, n as getCompilerContext } from "./createContext-BjCo8Rn4.mjs";
|
|
2
2
|
//#region src/auto-routes.ts
|
|
3
3
|
const ROUTE_RUNTIME_OVERRIDE_KEY = Symbol.for("weapp-vite.route-runtime");
|
|
4
4
|
function createGetter(resolver) {
|
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as createCjsConfigLoadError, E as isPathInside, S as parseCommentJson, T as shouldPassPlatformArgToIdeOpen, _ as createBuildScopeConfigFromCli,
|
|
1
|
+
import { C as createCjsConfigLoadError, E as isPathInside, S as parseCommentJson, T as shouldPassPlatformArgToIdeOpen, _ as createBuildScopeConfigFromCli, a as formatBytes, b as getProjectConfigFileName, d as syncProjectSupportFiles, f as syncManagedTsconfigBootstrapFiles, h as resolveHmrProfileJsonPath, m as SHARED_CHUNK_VIRTUAL_PREFIX, p as createSharedBuildConfig, t as createCompilerContext, u as resolveWeappViteTarget, v as resolveWeappConfigFile, w as getDefaultIdeProjectRoot, x as loadViteConfigFile, y as checkRuntime } from "./createContext-BjCo8Rn4.mjs";
|
|
2
2
|
import { r as logger_default, t as colors } from "./logger-mt4mSTqV.mjs";
|
|
3
|
-
import { h as VERSION } from "./file-
|
|
3
|
+
import { h as VERSION } from "./file-Cm-gX3xL.mjs";
|
|
4
4
|
import { o as resolveWeappMcpConfig, s as startWeappViteMcpServer } from "./mcp-qmDOTH07.mjs";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import path, { posix } from "pathe";
|
|
@@ -2449,7 +2449,6 @@ function registerBuildCommand(cli) {
|
|
|
2449
2449
|
cliPlatform: targets.rawPlatform,
|
|
2450
2450
|
projectConfigPath: options.projectConfig,
|
|
2451
2451
|
emitDefaultAutoImportOutputs: false,
|
|
2452
|
-
syncSupportFiles: false,
|
|
2453
2452
|
preloadAppEntry: false
|
|
2454
2453
|
});
|
|
2455
2454
|
const { buildService, configService, webService } = ctx;
|
|
@@ -3508,7 +3507,7 @@ function registerPrepareCommand(cli) {
|
|
|
3508
3507
|
filterDuplicateOptions(options);
|
|
3509
3508
|
const cwd = path.resolve(resolvePrepareRoot(input));
|
|
3510
3509
|
const cliPlatform = resolvePreparePlatform(options);
|
|
3511
|
-
await syncProjectSupportFiles(await createCompilerContext({
|
|
3510
|
+
const supportFiles = await syncProjectSupportFiles(await createCompilerContext({
|
|
3512
3511
|
cwd,
|
|
3513
3512
|
isDev: false,
|
|
3514
3513
|
mode: typeof options.mode === "string" ? options.mode : "development",
|
|
@@ -3518,6 +3517,7 @@ function registerPrepareCommand(cli) {
|
|
|
3518
3517
|
preloadAppEntry: false,
|
|
3519
3518
|
...cliPlatform ? { cliPlatform } : {}
|
|
3520
3519
|
}));
|
|
3520
|
+
for (const warning of supportFiles.managedTsconfigWarnings) logger_default.warn(warning);
|
|
3521
3521
|
logger_default.info("已生成 .weapp-vite 支持文件。");
|
|
3522
3522
|
} catch (error) {
|
|
3523
3523
|
logger_default.warn(`[prepare] ${formatPrepareSkipMessage$1(error)}`);
|
|
@@ -3735,7 +3735,7 @@ function resolveRunnableHotkeyDefinition(input) {
|
|
|
3735
3735
|
}
|
|
3736
3736
|
//#endregion
|
|
3737
3737
|
//#region package.json
|
|
3738
|
-
var version = "6.16.
|
|
3738
|
+
var version = "6.16.42";
|
|
3739
3739
|
//#endregion
|
|
3740
3740
|
//#region src/cli/devHotkeys/format.ts
|
|
3741
3741
|
const FULLWIDTH_ASCII_START = 65281;
|