weapp-vite 6.16.17 → 6.16.19
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-import-components/resolvers.d.mts +1 -1
- package/dist/auto-routes.d.mts +1 -1
- package/dist/auto-routes.mjs +1 -1
- package/dist/cli.mjs +16 -12
- package/dist/{config-CY6lHET0.d.mts → config-DBTZvwxw.d.mts} +40 -3
- package/dist/config.d.mts +1 -1
- package/dist/config.mjs +3 -3
- package/dist/{createContext-D7bNXjAv.mjs → createContext-9Iyp31bM.mjs} +2274 -1678
- package/dist/docs/weapp-config.md +24 -0
- package/dist/{file-8E6neBUV.mjs → file-Dv_e5yIa.mjs} +1 -1
- package/dist/file-IuX99F00.mjs +2 -0
- package/dist/getInstance-DS0CkWYU.mjs +2 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +5 -5
- package/dist/json.d.mts +1 -1
- package/dist/json.mjs +1 -1
- package/dist/{mcp-DV3K2AVD.mjs → mcp-qmDOTH07.mjs} +1 -1
- package/dist/mcp.d.mts +1 -1
- package/dist/mcp.mjs +1 -1
- package/dist/runtime.d.mts +1 -1
- package/dist/runtime.mjs +1 -1
- package/dist/types.d.mts +4 -4
- package/package.json +15 -15
- package/dist/file-DWUIhjgC.mjs +0 -2
- package/dist/getInstance-ClZzdXfq.mjs +0 -2
- /package/dist/{config-DJjSbpNX.mjs → config-DRGcCi3h.mjs} +0 -0
- /package/dist/{index-C1yQldy3.d.mts → index-Bmclyjw8.d.mts} +0 -0
- /package/dist/{json-D0HkutE0.mjs → json-BL8Dhhk6.mjs} +0 -0
- /package/dist/{logger-CgxdNjvb.mjs → logger-mt4mSTqV.mjs} +0 -0
- /package/dist/{pluginHost-BEnGeaSo.mjs → pluginHost--CaeyWpA.mjs} +0 -0
- /package/dist/{routes-DiEBrMtj.d.mts → routes-C7fCmf92.d.mts} +0 -0
- /package/dist/{runtime-spnjzaP2.mjs → runtime-C3z9pDQB.mjs} +0 -0
- /package/dist/{runtime-DSLk7kWi.d.mts → runtime-CDNs17Qq.d.mts} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ExternalMetadataFileCandidates, c as Resolver, d as ResolverObject, f as ResolverSupportFilesStrategy, i as CreateResolver, l as ResolverFn, n as VantResolver, o as Options, r as TDesignResolver, s as ResolvedValue, t as WeuiResolver, u as ResolverMeta } from "../index-
|
|
1
|
+
import { a as ExternalMetadataFileCandidates, c as Resolver, d as ResolverObject, f as ResolverSupportFilesStrategy, i as CreateResolver, l as ResolverFn, n as VantResolver, o as Options, r as TDesignResolver, s as ResolvedValue, t as WeuiResolver, u as ResolverMeta } from "../index-Bmclyjw8.mjs";
|
|
2
2
|
export { CreateResolver, ExternalMetadataFileCandidates, Options, ResolvedValue, Resolver, ResolverFn, ResolverMeta, ResolverObject, ResolverSupportFilesStrategy, TDesignResolver, VantResolver, WeuiResolver };
|
package/dist/auto-routes.d.mts
CHANGED
package/dist/auto-routes.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getRouteRuntimeGlobalKeys, i as getCompilerContext } from "./createContext-
|
|
1
|
+
import { g as getRouteRuntimeGlobalKeys, i as getCompilerContext } from "./createContext-9Iyp31bM.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,7 +1,7 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import { r as logger_default, t as colors } from "./logger-
|
|
3
|
-
import { h as VERSION } from "./file-
|
|
4
|
-
import { o as resolveWeappMcpConfig, s as startWeappViteMcpServer } from "./mcp-
|
|
1
|
+
import { C as createCjsConfigLoadError, E as isPathInside, S as parseCommentJson, T as shouldPassPlatformArgToIdeOpen, _ as createBuildScopeConfigFromCli, b as getProjectConfigFileName, f as resolveWeappViteTarget, h as resolveHmrProfileJsonPath, m as SHARED_CHUNK_VIRTUAL_PREFIX, n as syncProjectSupportFiles, p as createSharedBuildConfig, r as syncManagedTsconfigBootstrapFiles, s as formatBytes, t as createCompilerContext, v as resolveWeappConfigFile, w as getDefaultIdeProjectRoot, x as loadViteConfigFile, y as checkRuntime } from "./createContext-9Iyp31bM.mjs";
|
|
2
|
+
import { r as logger_default, t as colors } from "./logger-mt4mSTqV.mjs";
|
|
3
|
+
import { h as VERSION } from "./file-Dv_e5yIa.mjs";
|
|
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";
|
|
7
7
|
import { defu } from "@weapp-core/shared";
|
|
@@ -48,9 +48,13 @@ function resolveRuntimeTargets(options) {
|
|
|
48
48
|
rawPlatform
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
function createInlineConfig(platform) {
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
function createInlineConfig(platform, scope) {
|
|
52
|
+
const buildScope = createBuildScopeConfigFromCli(scope);
|
|
53
|
+
if (!platform && !buildScope) return;
|
|
54
|
+
return { weapp: {
|
|
55
|
+
...platform ? { platform } : {},
|
|
56
|
+
...buildScope ? { buildScope } : {}
|
|
57
|
+
} };
|
|
54
58
|
}
|
|
55
59
|
//#endregion
|
|
56
60
|
//#region src/cli/openIde/execute.ts
|
|
@@ -2410,11 +2414,11 @@ function emitDashboardEvents$1(handle, events) {
|
|
|
2410
2414
|
handle?.emitRuntimeEvents(events);
|
|
2411
2415
|
}
|
|
2412
2416
|
function registerBuildCommand(cli) {
|
|
2413
|
-
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("--ui", `[boolean] 启动调试 UI(当前提供分析视图)`, { default: false }).option("--analyze", `[boolean] 输出分包分析仪表盘`, { default: false }).action(async (root, options) => {
|
|
2417
|
+
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("--ui", `[boolean] 启动调试 UI(当前提供分析视图)`, { default: false }).option("--analyze", `[boolean] 输出分包分析仪表盘`, { default: false }).option("--scope <scope>", `[string] 局部构建范围,例如 main,packages/order`).action(async (root, options) => {
|
|
2414
2418
|
filterDuplicateOptions(options);
|
|
2415
2419
|
const configFile = resolveConfigFile(options);
|
|
2416
2420
|
const targets = resolveRuntimeTargets(options);
|
|
2417
|
-
const inlineConfig = createInlineConfig(targets.platform);
|
|
2421
|
+
const inlineConfig = createInlineConfig(targets.platform, options.scope);
|
|
2418
2422
|
const ctx = await createCompilerContext({
|
|
2419
2423
|
cwd: root,
|
|
2420
2424
|
mode: options.mode ?? "production",
|
|
@@ -3704,7 +3708,7 @@ function resolveRunnableHotkeyDefinition(input) {
|
|
|
3704
3708
|
}
|
|
3705
3709
|
//#endregion
|
|
3706
3710
|
//#region package.json
|
|
3707
|
-
var version = "6.16.
|
|
3711
|
+
var version = "6.16.19";
|
|
3708
3712
|
//#endregion
|
|
3709
3713
|
//#region src/cli/devHotkeys/format.ts
|
|
3710
3714
|
const FULLWIDTH_ASCII_START = 65281;
|
|
@@ -4304,11 +4308,11 @@ function waitForServeShutdownSignal() {
|
|
|
4304
4308
|
//#endregion
|
|
4305
4309
|
//#region src/cli/commands/serve/index.ts
|
|
4306
4310
|
function registerServeCommand(cli) {
|
|
4307
|
-
cli.command("[root]", "start dev server").alias("serve").alias("dev").option("--skipNpm", `[boolean] if skip npm build`).option("-o, --open", `[boolean] open ide`).option("-p, --platform <platform>", `[string] target platform (weapp | web | all)`).option("--project-config <path>", `[string] project config path (miniprogram only)`).option("--trust-project", "[boolean] auto trust Wechat DevTools project on open", { default: true }).option("--host [host]", `[string] web dev server host`).option("--ui", `[boolean] 启动调试 UI(当前提供分析视图)`, { default: false }).option("--analyze", `[boolean] 启动分包分析仪表盘 (实验特性)`, { default: false }).action(async (root, options) => {
|
|
4311
|
+
cli.command("[root]", "start dev server").alias("serve").alias("dev").option("--skipNpm", `[boolean] if skip npm build`).option("-o, --open", `[boolean] open ide`).option("-p, --platform <platform>", `[string] target platform (weapp | web | all)`).option("--project-config <path>", `[string] project config path (miniprogram only)`).option("--trust-project", "[boolean] auto trust Wechat DevTools project on open", { default: true }).option("--host [host]", `[string] web dev server host`).option("--ui", `[boolean] 启动调试 UI(当前提供分析视图)`, { default: false }).option("--analyze", `[boolean] 启动分包分析仪表盘 (实验特性)`, { default: false }).option("--scope <scope>", `[string] 局部构建范围,例如 main,packages/order`).action(async (root, options) => {
|
|
4308
4312
|
filterDuplicateOptions(options);
|
|
4309
4313
|
const configFile = resolveConfigFile(options);
|
|
4310
4314
|
const targets = resolveRuntimeTargets(options);
|
|
4311
|
-
let inlineConfig = createInlineConfig(targets.platform);
|
|
4315
|
+
let inlineConfig = createInlineConfig(targets.platform, options.scope);
|
|
4312
4316
|
if (targets.runWeb) {
|
|
4313
4317
|
const host = resolveWebHost(options.host);
|
|
4314
4318
|
if (host !== void 0) inlineConfig = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as Resolver, s as ResolvedValue } from "./index-
|
|
2
|
-
import { t as AutoRoutes } from "./routes-
|
|
1
|
+
import { c as Resolver, s as ResolvedValue } from "./index-Bmclyjw8.mjs";
|
|
2
|
+
import { t as AutoRoutes } from "./routes-C7fCmf92.mjs";
|
|
3
3
|
import { MpPlatform, OutputExtensions } from "@weapp-core/shared";
|
|
4
4
|
import { WeappAstConfig } from "@weapp-vite/ast";
|
|
5
5
|
import { LoggerConfig } from "@weapp-core/logger";
|
|
@@ -455,6 +455,25 @@ interface WeappAutoRoutesConfig {
|
|
|
455
455
|
persistentCache?: boolean | string;
|
|
456
456
|
watch?: boolean;
|
|
457
457
|
}
|
|
458
|
+
/**
|
|
459
|
+
* @description 局部构建范围配置。
|
|
460
|
+
*/
|
|
461
|
+
interface WeappBuildScopeObjectConfig {
|
|
462
|
+
/**
|
|
463
|
+
* @description 是否包含主包页面。
|
|
464
|
+
*/
|
|
465
|
+
includeMainPackage?: boolean;
|
|
466
|
+
/**
|
|
467
|
+
* @description 参与构建的分包 root 列表。`main` 表示主包。
|
|
468
|
+
*/
|
|
469
|
+
include?: string[];
|
|
470
|
+
/**
|
|
471
|
+
* @internal
|
|
472
|
+
* @description CLI 注入来源标记。
|
|
473
|
+
*/
|
|
474
|
+
__weappViteBuildScopeSource?: boolean;
|
|
475
|
+
}
|
|
476
|
+
type WeappBuildScopeConfig = string | string[] | WeappBuildScopeObjectConfig;
|
|
458
477
|
/**
|
|
459
478
|
* @description `@wevu/api` 注入配置
|
|
460
479
|
*/
|
|
@@ -567,6 +586,7 @@ interface WeappVueTemplateConfig {
|
|
|
567
586
|
objectLiteralBindMode?: 'runtime' | 'inline';
|
|
568
587
|
mustacheInterpolation?: 'compact' | 'spaced';
|
|
569
588
|
classStyleWxsShared?: boolean;
|
|
589
|
+
functionPropNames?: Array<string | RegExp>;
|
|
570
590
|
}
|
|
571
591
|
/**
|
|
572
592
|
* @description Vue 支持配置
|
|
@@ -583,6 +603,15 @@ interface WeappWevuConfig {
|
|
|
583
603
|
preset?: 'performance';
|
|
584
604
|
defaults?: WevuDefaults;
|
|
585
605
|
autoSetDataPick?: boolean;
|
|
606
|
+
/**
|
|
607
|
+
* @description 是否压缩 wevu 相关脚本输出。
|
|
608
|
+
* @description 默认保持当前可读输出行为,开启后仅影响 wevu 编译生成的脚本代码。
|
|
609
|
+
*/
|
|
610
|
+
minify?: boolean;
|
|
611
|
+
/**
|
|
612
|
+
* @description wevu 运行时入口版本。`auto` 表示开发模式使用 `dist/dev`,构建模式使用 `dist`。
|
|
613
|
+
*/
|
|
614
|
+
runtime?: 'auto' | 'dev' | 'build';
|
|
586
615
|
}
|
|
587
616
|
interface WeappRouteRule {
|
|
588
617
|
appLayout?: PageLayoutMeta;
|
|
@@ -732,6 +761,10 @@ interface WeappViteConfig {
|
|
|
732
761
|
* analyze 报告配置。
|
|
733
762
|
*/
|
|
734
763
|
analyze?: WeappAnalyzeConfig;
|
|
764
|
+
/**
|
|
765
|
+
* 局部构建范围。默认不启用,启用后只构建主包和指定分包。
|
|
766
|
+
*/
|
|
767
|
+
buildScope?: WeappBuildScopeConfig;
|
|
735
768
|
jsonAlias?: AliasOptions;
|
|
736
769
|
npm?: WeappNpmConfig;
|
|
737
770
|
generate?: GenerateOptions;
|
|
@@ -1479,8 +1512,12 @@ interface RuntimeState {
|
|
|
1479
1512
|
entriesMap: Map<string, Entry | undefined>;
|
|
1480
1513
|
layoutEntryDependents: Map<string, Set<string>>;
|
|
1481
1514
|
entryLayoutDependencies: Map<string, Set<string>>;
|
|
1515
|
+
vueEntryHasTemplate: Map<string, boolean>;
|
|
1482
1516
|
vueEntryNonJsonSignatures: Map<string, string>;
|
|
1517
|
+
vueEntryScriptSignatures: Map<string, string>;
|
|
1518
|
+
dirtyVueEntryIds: Set<string>;
|
|
1483
1519
|
didEmitAllEntries: boolean;
|
|
1520
|
+
lastHmrEntryIds: Set<string>;
|
|
1484
1521
|
lastEmittedEntryIds: Set<string>;
|
|
1485
1522
|
recentProfiles: Array<{
|
|
1486
1523
|
timestamp?: string;
|
|
@@ -1752,4 +1789,4 @@ declare module 'vite' {
|
|
|
1752
1789
|
*/
|
|
1753
1790
|
declare function defineConfig<T extends UserConfigExport>(config: T): T;
|
|
1754
1791
|
//#endregion
|
|
1755
|
-
export { WeappAnalyzeBudgetConfig as $,
|
|
1792
|
+
export { WeappAnalyzeBudgetConfig as $, WebPlatform as $n, GenerateTemplateFileSource as $t, Ref as A, WeappLibFileName as An, WeappRouteRules as At, BindingErrorLike as B, WeappViteHostMeta as Bn, BuildNpmPackageMeta as Bt, LoadConfigOptions as C, SubPackageStyleConfigObject as Cn, WeappInjectWeapiConfig as Ct, MethodDefinitions$1 as D, WeappLibConfig as Dn, WeappNpmConfig as Dt, InlineConfig$1 as E, WeappLibComponentJson as En, WeappMcpConfig as Et, RolldownPlugin as F, WeappManagedServerTsconfigConfig as Fn, WeappWevuConfig as Ft, EntryJsonFragment as G, ResolveWeappViteTargetOptions as Gn, GenerateExtensionsOptions as Gt, BaseEntry as H, createWeappViteHostMeta as Hn, CopyGlobs as Ht, RolldownPluginOption as I, WeappManagedSharedTsconfigConfig as In, WeappWorkerConfig as It, ScanComponentItem as J, WeappVitePlatform as Jn, GenerateOptions as Jt, PageEntry as K, ResolvedWeappViteTarget as Kn, GenerateFileType as Kt, RolldownWatchOptions as L, WeappManagedTypeScriptConfig as Ln, Alias as Lt, RolldownBuild as M, WeappLibVueTscOptions as Mn, WeappVueConfig as Mt, RolldownOptions as N, WeappManagedAppTsconfigConfig as Nn, WeappVueTemplateConfig as Nt, Plugin$1 as O, WeappLibDtsOptions as On, WeappRequestRuntimeConfig as Ot, RolldownOutput$1 as P, WeappManagedNodeTsconfigConfig as Pn, WeappWebRuntimeConfig as Pt, UserConfig$2 as Q, WeappViteTargetKind as Qn, GenerateTemplateFactory as Qt, RolldownWatcher$1 as R, WeappWebConfig as Rn, AliasOptions as Rt, CompilerContext as S, SubPackageStyleConfigEntry as Sn, WeappInjectRequestGlobalsTarget as St, ConfigEnv$1 as T, SubPackageStyleScope as Tn, WeappInjectWebRuntimeGlobalsTarget as Tt, ComponentEntry as U, isWeappViteHost as Un, CopyOptions as Ut, AppEntry as V, applyWeappViteHostMeta as Vn, ChunksConfig as Vt, Entry as W, resolveWeappViteHostMeta as Wn, GenerateDirsOptions as Wt, ProjectConfig as X, WeappViteTargetDescriptor as Xn, GenerateTemplateContext as Xt, WxmlDep as Y, WeappViteRuntime as Yn, GenerateTemplate as Yt, SubPackageMetaValue as Z, WeappViteTargetInput as Zn, GenerateTemplateEntry as Zt, definePageJson as _, SharedChunkDynamicImports as _n, WeappAutoRoutesIncludePattern as _t, UserConfigFnNoEnvPlain as a, JsonMergeContext as an, WeappViteConfig as at, ChangeEvent as b, SharedChunkStrategy as bn, WeappHmrConfig as bt, UserConfigFnPromise as c, JsonMergeStrategy as cn, EnhanceOptions as ct, Component$1 as d, NpmDependencyPattern as dn, MultiPlatformConfig as dt, GenerateTemplateInlineSource as en, getSupportedWeappVitePlatforms as er, WeappAnalyzeConfig as et, Page$1 as f, NpmMainPackageConfig as fn, ScanWxmlOptions as ft, defineComponentJson as g, ResolvedAlias as gn, WeappAutoRoutesInclude as gt, defineAppJson as h, NpmSubPackageConfig as hn, WeappAutoRoutesConfig as ht, UserConfigFnNoEnv as i, JsonConfig as in, WeappForwardConsoleLogLevel as it, ResolvedConfig as j, WeappLibInternalDtsOptions as jn, WeappSubPackageConfig as jt, PluginOption as k, WeappLibEntryContext as kn, WeappRouteRule as kt, defineConfig as l, MpPlatform$1 as ln, EnhanceWxmlOptions as lt, Theme$1 as m, NpmStrategy as mn, WeappAppPreludeMode as mt, UserConfigExport as n, GenerateTemplatesConfig as nn, isWebPlatform as nr, WeappDebugConfig as nt, UserConfigFnObject as o, JsonMergeFunction as on, AutoImportComponents as ot, Sitemap$1 as p, NpmPluginPackageConfig as pn, WeappAppPreludeConfig as pt, ComponentsMap as q, WEB_PLATFORM_ALIASES as qn, GenerateFilenamesOptions as qt, UserConfigFn as r, JsFormat as rn, resolveWeappViteTarget as rr, WeappForwardConsoleConfig as rt, UserConfigFnObjectPlain as s, JsonMergeStage as sn, AutoImportComponentsOption as st, UserConfig$1 as t, GenerateTemplateScope as tn, getSupportedWeappViteTargetDescriptors as tr, WeappAnalyzeHistoryConfig as tt, App$1 as u, NpmBuildOptions as un, HandleWxmlOptions as ut, defineSitemapJson as v, SharedChunkMode as vn, WeappBuildScopeConfig as vt, ComputedDefinitions$1 as w, SubPackageStyleEntry as wn, WeappInjectWebRuntimeGlobalsConfig as wt, WeappVitePluginApi as x, SubPackage as xn, WeappInjectRequestGlobalsConfig as xt, defineThemeJson as y, SharedChunkOverride as yn, WeappBuildScopeObjectConfig as yt, ViteDevServer$1 as z, WEAPP_VITE_HOST_NAME as zn, AlipayNpmMode as zt };
|
package/dist/config.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Bn as
|
|
1
|
+
import { Bn as WeappViteHostMeta, Hn as createWeappViteHostMeta, Un as isWeappViteHost, Vn as applyWeappViteHostMeta, Wn as resolveWeappViteHostMeta, Yn as WeappViteRuntime, _ as definePageJson, a as UserConfigFnNoEnvPlain, at as WeappViteConfig, c as UserConfigFnPromise, d as Component, f as Page, g as defineComponentJson, h as defineAppJson, i as UserConfigFnNoEnv, l as defineConfig, m as Theme, n as UserConfigExport, o as UserConfigFnObject, p as Sitemap, r as UserConfigFn, s as UserConfigFnObjectPlain, t as UserConfig, u as App, v as defineSitemapJson, y as defineThemeJson, zn as WEAPP_VITE_HOST_NAME } from "./config-DBTZvwxw.mjs";
|
|
2
2
|
export { type App, type Component, type Page, type Sitemap, type Theme, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnNoEnv, UserConfigFnNoEnvPlain, UserConfigFnObject, UserConfigFnObjectPlain, UserConfigFnPromise, WEAPP_VITE_HOST_NAME, type WeappViteConfig, WeappViteHostMeta, type WeappViteRuntime, applyWeappViteHostMeta, createWeappViteHostMeta, defineAppJson, defineComponentJson, defineConfig, definePageJson, defineSitemapJson, defineThemeJson, isWeappViteHost, resolveWeappViteHostMeta };
|
package/dist/config.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineThemeJson, i as defineSitemapJson, n as defineComponentJson, r as definePageJson, t as defineAppJson } from "./json-
|
|
2
|
-
import { a as resolveWeappViteHostMeta, i as isWeappViteHost, n as applyWeappViteHostMeta, r as createWeappViteHostMeta, t as WEAPP_VITE_HOST_NAME } from "./pluginHost
|
|
3
|
-
import { t as defineConfig } from "./config-
|
|
1
|
+
import { a as defineThemeJson, i as defineSitemapJson, n as defineComponentJson, r as definePageJson, t as defineAppJson } from "./json-BL8Dhhk6.mjs";
|
|
2
|
+
import { a as resolveWeappViteHostMeta, i as isWeappViteHost, n as applyWeappViteHostMeta, r as createWeappViteHostMeta, t as WEAPP_VITE_HOST_NAME } from "./pluginHost--CaeyWpA.mjs";
|
|
3
|
+
import { t as defineConfig } from "./config-DRGcCi3h.mjs";
|
|
4
4
|
export { WEAPP_VITE_HOST_NAME, applyWeappViteHostMeta, createWeappViteHostMeta, defineAppJson, defineComponentJson, defineConfig, definePageJson, defineSitemapJson, defineThemeJson, isWeappViteHost, resolveWeappViteHostMeta };
|