weapp-vite 6.15.13 → 6.15.14
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/README.md +40 -0
- package/dist/auto-import-components/resolvers.mjs +2 -0
- package/dist/auto-routes.mjs +1 -1
- package/dist/cli.mjs +556 -220
- package/dist/{config-DzoHnvv-.d.mts → config-DdiGMnVs.d.mts} +12 -7
- package/dist/config.d.mts +1 -1
- package/dist/config.mjs +3 -3
- package/dist/{createContext-CBnOZ_FN.mjs → createContext-BcX4FNt9.mjs} +336 -14235
- package/dist/docs/README.md +40 -0
- package/dist/{file-CycxGM0E.mjs → file-BR4Z0ErL.mjs} +1 -1
- package/dist/file-DzNGraHL.mjs +2 -0
- package/dist/getInstance-CyAuPueV.mjs +2 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +4 -4
- package/dist/json.d.mts +1 -1
- package/dist/json.mjs +1 -1
- package/dist/mcp.d.mts +1 -1
- package/dist/types.d.mts +1 -1
- package/package.json +13 -13
- package/dist/file-BbtjekFm.mjs +0 -2
- package/dist/getInstance-BN1eXe7O.mjs +0 -2
- /package/dist/{config-B2xtjEug.mjs → config-DJjSbpNX.mjs} +0 -0
- /package/dist/{json-wnfVS9jE.mjs → json-D0HkutE0.mjs} +0 -0
- /package/dist/{pluginHost-BzPJL4F-.mjs → pluginHost-SJdl15d3.mjs} +0 -0
|
@@ -521,6 +521,7 @@ interface WeappVueTemplateConfig {
|
|
|
521
521
|
htmlTagToWxmlTagClass?: boolean;
|
|
522
522
|
scopedSlotsCompiler?: 'auto' | 'augmented' | 'off';
|
|
523
523
|
scopedSlotsRequireProps?: boolean;
|
|
524
|
+
slotSingleRootNoWrapper?: boolean;
|
|
524
525
|
slotMultipleInstance?: boolean;
|
|
525
526
|
classStyleRuntime?: 'auto' | 'wxs' | 'js';
|
|
526
527
|
objectLiteralBindMode?: 'runtime' | 'inline';
|
|
@@ -1077,6 +1078,16 @@ interface ResolvedMultiPlatformConfig {
|
|
|
1077
1078
|
targets: readonly MpPlatform$1[];
|
|
1078
1079
|
}
|
|
1079
1080
|
//#endregion
|
|
1081
|
+
//#region src/utils/json.d.ts
|
|
1082
|
+
interface JsonResolvableEntry {
|
|
1083
|
+
json?: any;
|
|
1084
|
+
jsonPath?: string;
|
|
1085
|
+
type?: 'app' | 'page' | 'component' | 'plugin';
|
|
1086
|
+
}
|
|
1087
|
+
//#endregion
|
|
1088
|
+
//#region src/utils/loadViteConfigFile.d.ts
|
|
1089
|
+
type ViteConfigLoader = 'bundle' | 'runner' | 'native';
|
|
1090
|
+
//#endregion
|
|
1080
1091
|
//#region src/runtime/config/types.d.ts
|
|
1081
1092
|
interface LoadConfigOptions {
|
|
1082
1093
|
cwd: string;
|
|
@@ -1086,6 +1097,7 @@ interface LoadConfigOptions {
|
|
|
1086
1097
|
pluginOnly?: boolean;
|
|
1087
1098
|
inlineConfig?: InlineConfig;
|
|
1088
1099
|
configFile?: string;
|
|
1100
|
+
configLoader?: ViteConfigLoader;
|
|
1089
1101
|
cliPlatform?: string;
|
|
1090
1102
|
projectConfigPath?: string;
|
|
1091
1103
|
}
|
|
@@ -1199,13 +1211,6 @@ interface ResolvedWeappWebConfig {
|
|
|
1199
1211
|
source?: WeappWebConfig;
|
|
1200
1212
|
}
|
|
1201
1213
|
//#endregion
|
|
1202
|
-
//#region src/utils/json.d.ts
|
|
1203
|
-
interface JsonResolvableEntry {
|
|
1204
|
-
json?: any;
|
|
1205
|
-
jsonPath?: string;
|
|
1206
|
-
type?: 'app' | 'page' | 'component' | 'plugin';
|
|
1207
|
-
}
|
|
1208
|
-
//#endregion
|
|
1209
1214
|
//#region src/cache/file.d.ts
|
|
1210
1215
|
type HashInput = string | Buffer;
|
|
1211
1216
|
declare class FileCache<T extends object> {
|
package/dist/config.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Bn as resolveWeappViteHostMeta, Fn as WeappViteHostMeta, In as WeappViteRuntime, Ln as applyWeappViteHostMeta, Pn as WEAPP_VITE_HOST_NAME, Rn as createWeappViteHostMeta, _ as definePageJson, a as UserConfigFnNoEnvPlain, c as UserConfigFnPromise, d as Component, f as Page, g as defineComponentJson, h as defineAppJson, i as UserConfigFnNoEnv, l as defineConfig, m as Theme, n as UserConfigExport, nt as WeappViteConfig, o as UserConfigFnObject, p as Sitemap, r as UserConfigFn, s as UserConfigFnObjectPlain, t as UserConfig, u as App, v as defineSitemapJson, y as defineThemeJson, zn as isWeappViteHost } from "./config-
|
|
1
|
+
import { Bn as resolveWeappViteHostMeta, Fn as WeappViteHostMeta, In as WeappViteRuntime, Ln as applyWeappViteHostMeta, Pn as WEAPP_VITE_HOST_NAME, Rn as createWeappViteHostMeta, _ as definePageJson, a as UserConfigFnNoEnvPlain, c as UserConfigFnPromise, d as Component, f as Page, g as defineComponentJson, h as defineAppJson, i as UserConfigFnNoEnv, l as defineConfig, m as Theme, n as UserConfigExport, nt as WeappViteConfig, o as UserConfigFnObject, p as Sitemap, r as UserConfigFn, s as UserConfigFnObjectPlain, t as UserConfig, u as App, v as defineSitemapJson, y as defineThemeJson, zn as isWeappViteHost } from "./config-DdiGMnVs.mjs";
|
|
2
2
|
export { App, Component, Page, Sitemap, Theme, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnNoEnv, UserConfigFnNoEnvPlain, UserConfigFnObject, UserConfigFnObjectPlain, UserConfigFnPromise, WEAPP_VITE_HOST_NAME, WeappViteConfig, WeappViteHostMeta, WeappViteRuntime, applyWeappViteHostMeta, createWeappViteHostMeta, defineAppJson, defineComponentJson, defineConfig, definePageJson, defineSitemapJson, defineThemeJson, isWeappViteHost, resolveWeappViteHostMeta };
|
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-D0HkutE0.mjs";
|
|
2
|
+
import { a as resolveWeappViteHostMeta, i as isWeappViteHost, n as applyWeappViteHostMeta, r as createWeappViteHostMeta, t as WEAPP_VITE_HOST_NAME } from "./pluginHost-SJdl15d3.mjs";
|
|
3
|
+
import { t as defineConfig } from "./config-DJjSbpNX.mjs";
|
|
4
4
|
export { WEAPP_VITE_HOST_NAME, applyWeappViteHostMeta, createWeappViteHostMeta, defineAppJson, defineComponentJson, defineConfig, definePageJson, defineSitemapJson, defineThemeJson, isWeappViteHost, resolveWeappViteHostMeta };
|