weapp-vite 5.7.1 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auto-import-components/resolvers.cjs +5 -5
- package/dist/auto-import-components/resolvers.mjs +1 -1
- package/dist/auto-routes.cjs +8 -8
- package/dist/auto-routes.mjs +4 -4
- package/dist/{chunk-GGLONZVQ.cjs → chunk-3AGZHFSV.cjs} +6 -6
- package/dist/{chunk-O4FBXXL3.mjs → chunk-DHQDH7RC.mjs} +353 -30
- package/dist/{chunk-ZMX6CFVX.mjs → chunk-ED4S52HS.mjs} +1 -1
- package/dist/{chunk-MQBCRXCD.cjs → chunk-JKNSNXOE.cjs} +2 -2
- package/dist/{chunk-T4OVF4GP.cjs → chunk-LZJAPKF7.cjs} +699 -376
- package/dist/chunk-O3YXI56P.cjs +6 -0
- package/dist/{chunk-A5DD7GKX.cjs → chunk-QKFYCWOC.cjs} +2 -2
- package/dist/{chunk-AXUA33LJ.mjs → chunk-R7M4HN7H.mjs} +2 -2
- package/dist/{chunk-N463WDOG.mjs → chunk-RJVVY5EI.mjs} +1 -1
- package/dist/{chunk-G6EZVEVT.cjs → chunk-RMHCFT5Q.cjs} +2 -2
- package/dist/{chunk-2SUWUB42.mjs → chunk-SSYIWHY2.mjs} +1 -1
- package/dist/{chunk-SSQGJIB5.mjs → chunk-TZWATIK3.mjs} +2 -2
- package/dist/cli.cjs +143 -99
- package/dist/cli.mjs +63 -19
- package/dist/{config-C-oMiscN.d.cts → config-07wfK_aU.d.cts} +17 -17
- package/dist/{config-CbKHc1kT.d.ts → config-DVxKePlL.d.ts} +17 -17
- package/dist/config.cjs +4 -4
- package/dist/config.d.cts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.mjs +3 -3
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +6 -6
- package/dist/json.cjs +3 -3
- package/dist/json.d.cts +1 -1
- package/dist/json.d.ts +1 -1
- package/dist/json.mjs +2 -2
- package/dist/types.cjs +9 -9
- package/dist/types.d.cts +2 -2
- package/dist/types.d.ts +2 -2
- package/dist/types.mjs +2 -2
- package/dist/volar.cjs +2 -2
- package/dist/volar.mjs +1 -1
- package/modules/analyze-dashboard/assets/echarts.js +11 -25
- package/modules/analyze-dashboard/assets/index.js +1 -1
- package/modules/analyze-dashboard/assets/rolldown-runtime.js +1 -1
- package/modules/analyze-dashboard/assets/vue.js +7 -1
- package/package.json +9 -9
- package/dist/chunk-FOWFAOSV.cjs +0 -6
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCompilerContext
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-R7M4HN7H.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_MP_PLATFORM,
|
|
6
6
|
SHARED_CHUNK_VIRTUAL_PREFIX,
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
normalizeMiniPlatform,
|
|
12
12
|
resolveMiniPlatform,
|
|
13
13
|
resolveWeappConfigFile
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DHQDH7RC.mjs";
|
|
15
15
|
import {
|
|
16
16
|
init_esm_shims
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TZWATIK3.mjs";
|
|
18
18
|
|
|
19
19
|
// src/cli.ts
|
|
20
20
|
init_esm_shims();
|
|
@@ -608,7 +608,7 @@ var cac = (name = "") => new CAC(name);
|
|
|
608
608
|
// src/cli/commands/analyze.ts
|
|
609
609
|
init_esm_shims();
|
|
610
610
|
import process3 from "process";
|
|
611
|
-
import
|
|
611
|
+
import fs3 from "fs-extra";
|
|
612
612
|
import path2 from "pathe";
|
|
613
613
|
|
|
614
614
|
// src/analyze/subpackages.ts
|
|
@@ -1009,20 +1009,39 @@ async function analyzeSubpackages(ctx) {
|
|
|
1009
1009
|
|
|
1010
1010
|
// src/cli/analyze/dashboard.ts
|
|
1011
1011
|
init_esm_shims();
|
|
1012
|
-
import { dirname, resolve } from "path";
|
|
1013
1012
|
import process2 from "process";
|
|
1013
|
+
import fs2 from "fs-extra";
|
|
1014
|
+
import { createServer } from "vite";
|
|
1015
|
+
|
|
1016
|
+
// src/packagePaths.ts
|
|
1017
|
+
init_esm_shims();
|
|
1018
|
+
import { dirname, join } from "path";
|
|
1014
1019
|
import { fileURLToPath } from "url";
|
|
1015
1020
|
import fs from "fs-extra";
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
+
function findPackageRoot(from) {
|
|
1022
|
+
let current = from;
|
|
1023
|
+
while (true) {
|
|
1024
|
+
if (fs.existsSync(join(current, "package.json"))) {
|
|
1025
|
+
return current;
|
|
1026
|
+
}
|
|
1027
|
+
const parent = dirname(current);
|
|
1028
|
+
if (parent === current) {
|
|
1029
|
+
break;
|
|
1030
|
+
}
|
|
1031
|
+
current = parent;
|
|
1032
|
+
}
|
|
1033
|
+
throw new Error("\u65E0\u6CD5\u5B9A\u4F4D weapp-vite \u5305\u6839\u76EE\u5F55\uFF0C\u8BF7\u68C0\u67E5\u5B89\u88C5\u8DEF\u5F84\u3002");
|
|
1034
|
+
}
|
|
1035
|
+
var CURRENT_DIR = dirname(fileURLToPath(import.meta.url));
|
|
1036
|
+
var PACKAGE_ROOT = findPackageRoot(CURRENT_DIR);
|
|
1037
|
+
var ANALYZE_DASHBOARD_ROOT = join(PACKAGE_ROOT, "modules/analyze-dashboard");
|
|
1038
|
+
|
|
1039
|
+
// src/cli/analyze/dashboard.ts
|
|
1021
1040
|
var ANALYZE_GLOBAL_KEY = "__WEAPP_VITE_ANALYZE_RESULT__";
|
|
1022
1041
|
function resolveDashboardRoot() {
|
|
1023
|
-
if (
|
|
1042
|
+
if (fs2.existsSync(ANALYZE_DASHBOARD_ROOT)) {
|
|
1024
1043
|
return {
|
|
1025
|
-
root:
|
|
1044
|
+
root: ANALYZE_DASHBOARD_ROOT
|
|
1026
1045
|
};
|
|
1027
1046
|
}
|
|
1028
1047
|
throw new Error(
|
|
@@ -1101,8 +1120,24 @@ async function startAnalyzeDashboard(result, options) {
|
|
|
1101
1120
|
await server.listen();
|
|
1102
1121
|
serverRef ??= server;
|
|
1103
1122
|
server.printUrls();
|
|
1104
|
-
|
|
1123
|
+
const urls = (() => {
|
|
1124
|
+
const resolved = server.resolvedUrls;
|
|
1125
|
+
if (!resolved) {
|
|
1126
|
+
return [];
|
|
1127
|
+
}
|
|
1128
|
+
return [
|
|
1129
|
+
...resolved.local ?? [],
|
|
1130
|
+
...resolved.network ?? []
|
|
1131
|
+
];
|
|
1132
|
+
})();
|
|
1105
1133
|
const waitPromise = waitForServerExit(server);
|
|
1134
|
+
if (serverRef?.ws) {
|
|
1135
|
+
serverRef.ws.send({
|
|
1136
|
+
type: "custom",
|
|
1137
|
+
event: "weapp-analyze:update",
|
|
1138
|
+
data: state.current
|
|
1139
|
+
});
|
|
1140
|
+
}
|
|
1106
1141
|
const handle = {
|
|
1107
1142
|
async update(nextResult) {
|
|
1108
1143
|
state.current = nextResult;
|
|
@@ -1117,12 +1152,21 @@ async function startAnalyzeDashboard(result, options) {
|
|
|
1117
1152
|
waitForExit: () => waitPromise,
|
|
1118
1153
|
close: async () => {
|
|
1119
1154
|
await server.close();
|
|
1120
|
-
}
|
|
1155
|
+
},
|
|
1156
|
+
urls
|
|
1121
1157
|
};
|
|
1122
1158
|
if (options?.watch) {
|
|
1159
|
+
logger_default.info("\u5206\u6790\u4EEA\u8868\u76D8\u5DF2\u542F\u52A8\uFF08\u5B9E\u65F6\u6A21\u5F0F\uFF09\uFF0C\u6309 Ctrl+C \u9000\u51FA\u3002");
|
|
1160
|
+
for (const url of handle.urls) {
|
|
1161
|
+
logger_default.info(`\u5206\u5305\u5206\u6790\u4EEA\u8868\u76D8\uFF1A${url}`);
|
|
1162
|
+
}
|
|
1123
1163
|
void waitPromise;
|
|
1124
1164
|
return handle;
|
|
1125
1165
|
}
|
|
1166
|
+
logger_default.info("\u5206\u6790\u4EEA\u8868\u76D8\u5DF2\u542F\u52A8\uFF08\u9759\u6001\u6A21\u5F0F\uFF09\uFF0C\u6309 Ctrl+C \u9000\u51FA\u3002");
|
|
1167
|
+
for (const url of handle.urls) {
|
|
1168
|
+
logger_default.info(`\u5206\u5305\u5206\u6790\u4EEA\u8868\u76D8\uFF1A${url}`);
|
|
1169
|
+
}
|
|
1126
1170
|
await waitPromise;
|
|
1127
1171
|
}
|
|
1128
1172
|
|
|
@@ -1317,8 +1361,8 @@ function registerAnalyzeCommand(cli2) {
|
|
|
1317
1361
|
const configService = ctx.configService;
|
|
1318
1362
|
const baseDir = configService?.cwd ?? process3.cwd();
|
|
1319
1363
|
const resolvedOutputPath = path2.isAbsolute(outputOption) ? outputOption : path2.resolve(baseDir, outputOption);
|
|
1320
|
-
await
|
|
1321
|
-
await
|
|
1364
|
+
await fs3.ensureDir(path2.dirname(resolvedOutputPath));
|
|
1365
|
+
await fs3.writeFile(resolvedOutputPath, `${JSON.stringify(result, null, 2)}
|
|
1322
1366
|
`, "utf8");
|
|
1323
1367
|
const relativeOutput = configService ? configService.relativeCwd(resolvedOutputPath) : resolvedOutputPath;
|
|
1324
1368
|
logger_default.success(`\u5206\u6790\u7ED3\u679C\u5DF2\u5199\u5165 ${relativeOutput}`);
|
|
@@ -1616,7 +1660,7 @@ init_esm_shims();
|
|
|
1616
1660
|
import process4 from "process";
|
|
1617
1661
|
import { generateJs, generateJson, generateWxml, generateWxss } from "@weapp-core/schematics";
|
|
1618
1662
|
import { defu } from "@weapp-core/shared";
|
|
1619
|
-
import
|
|
1663
|
+
import fs4 from "fs-extra";
|
|
1620
1664
|
import path3 from "pathe";
|
|
1621
1665
|
function composePath(outDir, filename) {
|
|
1622
1666
|
return `${outDir}${outDir ? "/" : ""}${filename}`;
|
|
@@ -1632,7 +1676,7 @@ function resolveExtension(extension) {
|
|
|
1632
1676
|
}
|
|
1633
1677
|
async function readTemplateFile(templatePath, context) {
|
|
1634
1678
|
const absolutePath = path3.isAbsolute(templatePath) ? templatePath : path3.resolve(context.cwd, templatePath);
|
|
1635
|
-
return
|
|
1679
|
+
return fs4.readFile(absolutePath, "utf8");
|
|
1636
1680
|
}
|
|
1637
1681
|
async function loadTemplate(template, context) {
|
|
1638
1682
|
if (template === void 0) {
|
|
@@ -1712,7 +1756,7 @@ async function generate(options) {
|
|
|
1712
1756
|
}
|
|
1713
1757
|
for (const { code, fileName: fileName2 } of files) {
|
|
1714
1758
|
if (code !== void 0) {
|
|
1715
|
-
await
|
|
1759
|
+
await fs4.outputFile(path3.resolve(basepath, fileName2), code, "utf8");
|
|
1716
1760
|
logger_default.success(`${composePath(outDir, fileName2)} \u521B\u5EFA\u6210\u529F\uFF01`);
|
|
1717
1761
|
}
|
|
1718
1762
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { InlineConfig, UserConfig as UserConfig$1, ViteDevServer, build, UserConfigFnObject, UserConfigExport } from 'vite';
|
|
1
|
+
import { InlineConfig as InlineConfig$1, UserConfig as UserConfig$1, ViteDevServer, build, UserConfigFnObject, UserConfigExport } from 'vite';
|
|
2
2
|
import { GenerateType, Component, Theme, Sitemap, App, Page, Plugin } from '@weapp-core/schematics';
|
|
3
3
|
import { WeappWebPluginOptions } from '@weapp-vite/web';
|
|
4
4
|
import { InputOption, RolldownOutput, RolldownWatcher } from 'rolldown';
|
|
5
|
-
import {
|
|
5
|
+
import { InlineConfig } from 'tsdown';
|
|
6
6
|
import { WrapPluginOptions } from 'vite-plugin-performance';
|
|
7
7
|
import { PluginOptions } from 'vite-tsconfig-paths';
|
|
8
8
|
import { R as Resolver, a as ResolvedValue } from './types-3q1Qq6Fe.cjs';
|
|
@@ -55,7 +55,7 @@ interface SubPackage {
|
|
|
55
55
|
entry?: string;
|
|
56
56
|
name?: string;
|
|
57
57
|
dependencies?: (string | RegExp)[];
|
|
58
|
-
inlineConfig?: Partial<InlineConfig>;
|
|
58
|
+
inlineConfig?: Partial<InlineConfig$1>;
|
|
59
59
|
}
|
|
60
60
|
type SubPackageStyleScope = 'all' | 'pages' | 'components';
|
|
61
61
|
interface SubPackageStyleConfigObject {
|
|
@@ -195,7 +195,7 @@ interface WeappWebConfig {
|
|
|
195
195
|
/**
|
|
196
196
|
* @description 额外合并到 Web 构建中的 Vite 内联配置
|
|
197
197
|
*/
|
|
198
|
-
vite?: InlineConfig;
|
|
198
|
+
vite?: InlineConfig$1;
|
|
199
199
|
}
|
|
200
200
|
interface AutoImportComponents {
|
|
201
201
|
/**
|
|
@@ -322,7 +322,7 @@ interface WeappViteConfig {
|
|
|
322
322
|
/**
|
|
323
323
|
* @description 构建 npm 的配置,可以配置这个选项给 tsdown,让不同的包走不同的配置
|
|
324
324
|
*/
|
|
325
|
-
buildOptions?: (options:
|
|
325
|
+
buildOptions?: (options: InlineConfig, pkgMeta: BuildNpmPackageMeta) => InlineConfig | undefined;
|
|
326
326
|
};
|
|
327
327
|
/**
|
|
328
328
|
* @group 生成脚手架配置
|
|
@@ -517,11 +517,11 @@ interface LoadConfigOptions {
|
|
|
517
517
|
cwd: string;
|
|
518
518
|
isDev: boolean;
|
|
519
519
|
mode: string;
|
|
520
|
-
inlineConfig?: InlineConfig;
|
|
520
|
+
inlineConfig?: InlineConfig$1;
|
|
521
521
|
configFile?: string;
|
|
522
522
|
}
|
|
523
523
|
interface LoadConfigResult {
|
|
524
|
-
config: InlineConfig;
|
|
524
|
+
config: InlineConfig$1;
|
|
525
525
|
aliasEntries: ResolvedAlias[];
|
|
526
526
|
outputExtensions: OutputExtensions;
|
|
527
527
|
packageJson: PackageJson;
|
|
@@ -553,17 +553,17 @@ interface ConfigService {
|
|
|
553
553
|
packageInfo: PackageInfo;
|
|
554
554
|
setDefineEnv: (key: string, value: any) => void;
|
|
555
555
|
load: (options?: Partial<LoadConfigOptions>) => Promise<LoadConfigResult>;
|
|
556
|
-
mergeWorkers: (...configs: Partial<InlineConfig>[]) => InlineConfig;
|
|
557
|
-
merge: (subPackageMeta?: SubPackageMetaValue, ...configs: Partial<InlineConfig | undefined>[]) => InlineConfig;
|
|
558
|
-
mergeWeb: (...configs: Partial<InlineConfig | undefined>[]) => InlineConfig | undefined;
|
|
559
|
-
mergeInlineConfig: (...configs: Partial<InlineConfig>[]) => InlineConfig;
|
|
556
|
+
mergeWorkers: (...configs: Partial<InlineConfig$1>[]) => InlineConfig$1;
|
|
557
|
+
merge: (subPackageMeta?: SubPackageMetaValue, ...configs: Partial<InlineConfig$1 | undefined>[]) => InlineConfig$1;
|
|
558
|
+
mergeWeb: (...configs: Partial<InlineConfig$1 | undefined>[]) => InlineConfig$1 | undefined;
|
|
559
|
+
mergeInlineConfig: (...configs: Partial<InlineConfig$1>[]) => InlineConfig$1;
|
|
560
560
|
readonly defineImportMetaEnv: Record<string, any>;
|
|
561
561
|
readonly cwd: string;
|
|
562
562
|
readonly isDev: boolean;
|
|
563
563
|
readonly mpDistRoot: string;
|
|
564
564
|
readonly outDir: string;
|
|
565
|
-
readonly inlineConfig: InlineConfig;
|
|
566
|
-
readonly weappViteConfig: NonNullable<InlineConfig['weapp']>;
|
|
565
|
+
readonly inlineConfig: InlineConfig$1;
|
|
566
|
+
readonly weappViteConfig: NonNullable<InlineConfig$1['weapp']>;
|
|
567
567
|
readonly packageJson: PackageJson;
|
|
568
568
|
readonly projectConfig: Record<string, any>;
|
|
569
569
|
readonly srcRoot: string;
|
|
@@ -588,7 +588,7 @@ interface ResolvedWeappWebConfig {
|
|
|
588
588
|
pluginOptions: Omit<WeappWebPluginOptions, 'srcDir'> & {
|
|
589
589
|
srcDir: string;
|
|
590
590
|
};
|
|
591
|
-
userConfig?: InlineConfig;
|
|
591
|
+
userConfig?: InlineConfig$1;
|
|
592
592
|
source?: WeappWebConfig;
|
|
593
593
|
}
|
|
594
594
|
|
|
@@ -629,7 +629,7 @@ interface NpmService {
|
|
|
629
629
|
bundleBuild: (args: {
|
|
630
630
|
entry: InputOption;
|
|
631
631
|
name: string;
|
|
632
|
-
options?:
|
|
632
|
+
options?: InlineConfig;
|
|
633
633
|
outDir: string;
|
|
634
634
|
}) => Promise<void>;
|
|
635
635
|
copyBuild: (args: {
|
|
@@ -640,14 +640,14 @@ interface NpmService {
|
|
|
640
640
|
buildPackage: (args: {
|
|
641
641
|
dep: string;
|
|
642
642
|
outDir: string;
|
|
643
|
-
options?:
|
|
643
|
+
options?: InlineConfig;
|
|
644
644
|
isDependenciesCacheOutdate: boolean;
|
|
645
645
|
}) => Promise<void>;
|
|
646
646
|
getPackNpmRelationList: () => {
|
|
647
647
|
packageJsonPath: string;
|
|
648
648
|
miniprogramNpmDistDir: string;
|
|
649
649
|
}[];
|
|
650
|
-
build: (options?:
|
|
650
|
+
build: (options?: InlineConfig) => Promise<void>;
|
|
651
651
|
}
|
|
652
652
|
|
|
653
653
|
interface Token {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { InlineConfig, UserConfig as UserConfig$1, ViteDevServer, build, UserConfigFnObject, UserConfigExport } from 'vite';
|
|
1
|
+
import { InlineConfig as InlineConfig$1, UserConfig as UserConfig$1, ViteDevServer, build, UserConfigFnObject, UserConfigExport } from 'vite';
|
|
2
2
|
import { GenerateType, Component, Theme, Sitemap, App, Page, Plugin } from '@weapp-core/schematics';
|
|
3
3
|
import { WeappWebPluginOptions } from '@weapp-vite/web';
|
|
4
4
|
import { InputOption, RolldownOutput, RolldownWatcher } from 'rolldown';
|
|
5
|
-
import {
|
|
5
|
+
import { InlineConfig } from 'tsdown';
|
|
6
6
|
import { WrapPluginOptions } from 'vite-plugin-performance';
|
|
7
7
|
import { PluginOptions } from 'vite-tsconfig-paths';
|
|
8
8
|
import { R as Resolver, a as ResolvedValue } from './types-3q1Qq6Fe.js';
|
|
@@ -55,7 +55,7 @@ interface SubPackage {
|
|
|
55
55
|
entry?: string;
|
|
56
56
|
name?: string;
|
|
57
57
|
dependencies?: (string | RegExp)[];
|
|
58
|
-
inlineConfig?: Partial<InlineConfig>;
|
|
58
|
+
inlineConfig?: Partial<InlineConfig$1>;
|
|
59
59
|
}
|
|
60
60
|
type SubPackageStyleScope = 'all' | 'pages' | 'components';
|
|
61
61
|
interface SubPackageStyleConfigObject {
|
|
@@ -195,7 +195,7 @@ interface WeappWebConfig {
|
|
|
195
195
|
/**
|
|
196
196
|
* @description 额外合并到 Web 构建中的 Vite 内联配置
|
|
197
197
|
*/
|
|
198
|
-
vite?: InlineConfig;
|
|
198
|
+
vite?: InlineConfig$1;
|
|
199
199
|
}
|
|
200
200
|
interface AutoImportComponents {
|
|
201
201
|
/**
|
|
@@ -322,7 +322,7 @@ interface WeappViteConfig {
|
|
|
322
322
|
/**
|
|
323
323
|
* @description 构建 npm 的配置,可以配置这个选项给 tsdown,让不同的包走不同的配置
|
|
324
324
|
*/
|
|
325
|
-
buildOptions?: (options:
|
|
325
|
+
buildOptions?: (options: InlineConfig, pkgMeta: BuildNpmPackageMeta) => InlineConfig | undefined;
|
|
326
326
|
};
|
|
327
327
|
/**
|
|
328
328
|
* @group 生成脚手架配置
|
|
@@ -517,11 +517,11 @@ interface LoadConfigOptions {
|
|
|
517
517
|
cwd: string;
|
|
518
518
|
isDev: boolean;
|
|
519
519
|
mode: string;
|
|
520
|
-
inlineConfig?: InlineConfig;
|
|
520
|
+
inlineConfig?: InlineConfig$1;
|
|
521
521
|
configFile?: string;
|
|
522
522
|
}
|
|
523
523
|
interface LoadConfigResult {
|
|
524
|
-
config: InlineConfig;
|
|
524
|
+
config: InlineConfig$1;
|
|
525
525
|
aliasEntries: ResolvedAlias[];
|
|
526
526
|
outputExtensions: OutputExtensions;
|
|
527
527
|
packageJson: PackageJson;
|
|
@@ -553,17 +553,17 @@ interface ConfigService {
|
|
|
553
553
|
packageInfo: PackageInfo;
|
|
554
554
|
setDefineEnv: (key: string, value: any) => void;
|
|
555
555
|
load: (options?: Partial<LoadConfigOptions>) => Promise<LoadConfigResult>;
|
|
556
|
-
mergeWorkers: (...configs: Partial<InlineConfig>[]) => InlineConfig;
|
|
557
|
-
merge: (subPackageMeta?: SubPackageMetaValue, ...configs: Partial<InlineConfig | undefined>[]) => InlineConfig;
|
|
558
|
-
mergeWeb: (...configs: Partial<InlineConfig | undefined>[]) => InlineConfig | undefined;
|
|
559
|
-
mergeInlineConfig: (...configs: Partial<InlineConfig>[]) => InlineConfig;
|
|
556
|
+
mergeWorkers: (...configs: Partial<InlineConfig$1>[]) => InlineConfig$1;
|
|
557
|
+
merge: (subPackageMeta?: SubPackageMetaValue, ...configs: Partial<InlineConfig$1 | undefined>[]) => InlineConfig$1;
|
|
558
|
+
mergeWeb: (...configs: Partial<InlineConfig$1 | undefined>[]) => InlineConfig$1 | undefined;
|
|
559
|
+
mergeInlineConfig: (...configs: Partial<InlineConfig$1>[]) => InlineConfig$1;
|
|
560
560
|
readonly defineImportMetaEnv: Record<string, any>;
|
|
561
561
|
readonly cwd: string;
|
|
562
562
|
readonly isDev: boolean;
|
|
563
563
|
readonly mpDistRoot: string;
|
|
564
564
|
readonly outDir: string;
|
|
565
|
-
readonly inlineConfig: InlineConfig;
|
|
566
|
-
readonly weappViteConfig: NonNullable<InlineConfig['weapp']>;
|
|
565
|
+
readonly inlineConfig: InlineConfig$1;
|
|
566
|
+
readonly weappViteConfig: NonNullable<InlineConfig$1['weapp']>;
|
|
567
567
|
readonly packageJson: PackageJson;
|
|
568
568
|
readonly projectConfig: Record<string, any>;
|
|
569
569
|
readonly srcRoot: string;
|
|
@@ -588,7 +588,7 @@ interface ResolvedWeappWebConfig {
|
|
|
588
588
|
pluginOptions: Omit<WeappWebPluginOptions, 'srcDir'> & {
|
|
589
589
|
srcDir: string;
|
|
590
590
|
};
|
|
591
|
-
userConfig?: InlineConfig;
|
|
591
|
+
userConfig?: InlineConfig$1;
|
|
592
592
|
source?: WeappWebConfig;
|
|
593
593
|
}
|
|
594
594
|
|
|
@@ -629,7 +629,7 @@ interface NpmService {
|
|
|
629
629
|
bundleBuild: (args: {
|
|
630
630
|
entry: InputOption;
|
|
631
631
|
name: string;
|
|
632
|
-
options?:
|
|
632
|
+
options?: InlineConfig;
|
|
633
633
|
outDir: string;
|
|
634
634
|
}) => Promise<void>;
|
|
635
635
|
copyBuild: (args: {
|
|
@@ -640,14 +640,14 @@ interface NpmService {
|
|
|
640
640
|
buildPackage: (args: {
|
|
641
641
|
dep: string;
|
|
642
642
|
outDir: string;
|
|
643
|
-
options?:
|
|
643
|
+
options?: InlineConfig;
|
|
644
644
|
isDependenciesCacheOutdate: boolean;
|
|
645
645
|
}) => Promise<void>;
|
|
646
646
|
getPackNpmRelationList: () => {
|
|
647
647
|
packageJsonPath: string;
|
|
648
648
|
miniprogramNpmDistDir: string;
|
|
649
649
|
}[];
|
|
650
|
-
build: (options?:
|
|
650
|
+
build: (options?: InlineConfig) => Promise<void>;
|
|
651
651
|
}
|
|
652
652
|
|
|
653
653
|
interface Token {
|
package/dist/config.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkJKNSNXOEcjs = require('./chunk-JKNSNXOE.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('./chunk-
|
|
10
|
+
var _chunkRMHCFT5Qcjs = require('./chunk-RMHCFT5Q.cjs');
|
|
11
|
+
require('./chunk-QKFYCWOC.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -16,4 +16,4 @@ require('./chunk-A5DD7GKX.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
exports.defineAppJson =
|
|
19
|
+
exports.defineAppJson = _chunkRMHCFT5Qcjs.defineAppJson; exports.defineComponentJson = _chunkRMHCFT5Qcjs.defineComponentJson; exports.defineConfig = _chunkJKNSNXOEcjs.defineConfig; exports.definePageJson = _chunkRMHCFT5Qcjs.definePageJson; exports.defineSitemapJson = _chunkRMHCFT5Qcjs.defineSitemapJson; exports.defineThemeJson = _chunkRMHCFT5Qcjs.defineThemeJson;
|
package/dist/config.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { UserConfig, UserConfigExport, UserConfigFnObject } from 'vite';
|
|
2
|
-
export { W as WeappViteConfig, a as defineAppJson, c as defineComponentJson, d as defineConfig, b as definePageJson, e as defineSitemapJson, f as defineThemeJson } from './config-
|
|
2
|
+
export { W as WeappViteConfig, a as defineAppJson, c as defineComponentJson, d as defineConfig, b as definePageJson, e as defineSitemapJson, f as defineThemeJson } from './config-07wfK_aU.cjs';
|
|
3
3
|
export { App, Component, Page, Sitemap, Theme } from '@weapp-core/schematics';
|
|
4
4
|
import '@weapp-vite/web';
|
|
5
5
|
import 'rolldown';
|
package/dist/config.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { UserConfig, UserConfigExport, UserConfigFnObject } from 'vite';
|
|
2
|
-
export { W as WeappViteConfig, a as defineAppJson, c as defineComponentJson, d as defineConfig, b as definePageJson, e as defineSitemapJson, f as defineThemeJson } from './config-
|
|
2
|
+
export { W as WeappViteConfig, a as defineAppJson, c as defineComponentJson, d as defineConfig, b as definePageJson, e as defineSitemapJson, f as defineThemeJson } from './config-DVxKePlL.js';
|
|
3
3
|
export { App, Component, Page, Sitemap, Theme } from '@weapp-core/schematics';
|
|
4
4
|
import '@weapp-vite/web';
|
|
5
5
|
import 'rolldown';
|
package/dist/config.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defineConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RJVVY5EI.mjs";
|
|
4
4
|
import {
|
|
5
5
|
defineAppJson,
|
|
6
6
|
defineComponentJson,
|
|
7
7
|
definePageJson,
|
|
8
8
|
defineSitemapJson,
|
|
9
9
|
defineThemeJson
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-SSYIWHY2.mjs";
|
|
11
|
+
import "./chunk-TZWATIK3.mjs";
|
|
12
12
|
export {
|
|
13
13
|
defineAppJson,
|
|
14
14
|
defineComponentJson,
|
package/dist/index.cjs
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunk3AGZHFSVcjs = require('./chunk-3AGZHFSV.cjs');
|
|
4
|
+
require('./chunk-LZJAPKF7.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkJKNSNXOEcjs = require('./chunk-JKNSNXOE.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
14
|
+
var _chunkRMHCFT5Qcjs = require('./chunk-RMHCFT5Q.cjs');
|
|
15
|
+
require('./chunk-O3YXI56P.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkQKFYCWOCcjs = require('./chunk-QKFYCWOC.cjs');
|
|
19
19
|
|
|
20
20
|
// src/index.ts
|
|
21
|
-
|
|
21
|
+
_chunkQKFYCWOCcjs.init_cjs_shims.call(void 0, );
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -27,4 +27,4 @@ _chunkA5DD7GKXcjs.init_cjs_shims.call(void 0, );
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
exports.createCompilerContext =
|
|
30
|
+
exports.createCompilerContext = _chunk3AGZHFSVcjs.createCompilerContext; exports.defineAppJson = _chunkRMHCFT5Qcjs.defineAppJson; exports.defineComponentJson = _chunkRMHCFT5Qcjs.defineComponentJson; exports.defineConfig = _chunkJKNSNXOEcjs.defineConfig; exports.definePageJson = _chunkRMHCFT5Qcjs.definePageJson; exports.defineSitemapJson = _chunkRMHCFT5Qcjs.defineSitemapJson; exports.defineThemeJson = _chunkRMHCFT5Qcjs.defineThemeJson;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LoadConfigOptions, C as CompilerContext } from './config-
|
|
2
|
-
export { W as WeappViteConfig, a as defineAppJson, c as defineComponentJson, d as defineConfig, b as definePageJson, e as defineSitemapJson, f as defineThemeJson } from './config-
|
|
1
|
+
import { L as LoadConfigOptions, C as CompilerContext } from './config-07wfK_aU.cjs';
|
|
2
|
+
export { W as WeappViteConfig, a as defineAppJson, c as defineComponentJson, d as defineConfig, b as definePageJson, e as defineSitemapJson, f as defineThemeJson } from './config-07wfK_aU.cjs';
|
|
3
3
|
export { RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, WatchOptions as RolldownWatchOptions, RolldownWatcher } from 'rolldown';
|
|
4
4
|
export { ConfigEnv, InlineConfig, Plugin, PluginOption, ResolvedConfig, UserConfig, UserConfigExport, UserConfigFnObject, ViteDevServer } from 'vite';
|
|
5
5
|
export { App, Component, Page, Sitemap, Theme } from '@weapp-core/schematics';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LoadConfigOptions, C as CompilerContext } from './config-
|
|
2
|
-
export { W as WeappViteConfig, a as defineAppJson, c as defineComponentJson, d as defineConfig, b as definePageJson, e as defineSitemapJson, f as defineThemeJson } from './config-
|
|
1
|
+
import { L as LoadConfigOptions, C as CompilerContext } from './config-DVxKePlL.js';
|
|
2
|
+
export { W as WeappViteConfig, a as defineAppJson, c as defineComponentJson, d as defineConfig, b as definePageJson, e as defineSitemapJson, f as defineThemeJson } from './config-DVxKePlL.js';
|
|
3
3
|
export { RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, WatchOptions as RolldownWatchOptions, RolldownWatcher } from 'rolldown';
|
|
4
4
|
export { ConfigEnv, InlineConfig, Plugin, PluginOption, ResolvedConfig, UserConfig, UserConfigExport, UserConfigFnObject, ViteDevServer } from 'vite';
|
|
5
5
|
export { App, Component, Page, Sitemap, Theme } from '@weapp-core/schematics';
|
package/dist/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCompilerContext
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-R7M4HN7H.mjs";
|
|
4
|
+
import "./chunk-DHQDH7RC.mjs";
|
|
5
5
|
import {
|
|
6
6
|
defineConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RJVVY5EI.mjs";
|
|
8
8
|
import {
|
|
9
9
|
defineAppJson,
|
|
10
10
|
defineComponentJson,
|
|
11
11
|
definePageJson,
|
|
12
12
|
defineSitemapJson,
|
|
13
13
|
defineThemeJson
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-SSYIWHY2.mjs";
|
|
15
|
+
import "./chunk-ED4S52HS.mjs";
|
|
16
16
|
import {
|
|
17
17
|
init_esm_shims
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TZWATIK3.mjs";
|
|
19
19
|
|
|
20
20
|
// src/index.ts
|
|
21
21
|
init_esm_shims();
|
package/dist/json.cjs
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var _chunkRMHCFT5Qcjs = require('./chunk-RMHCFT5Q.cjs');
|
|
8
|
+
require('./chunk-QKFYCWOC.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.defineAppJson =
|
|
15
|
+
exports.defineAppJson = _chunkRMHCFT5Qcjs.defineAppJson; exports.defineComponentJson = _chunkRMHCFT5Qcjs.defineComponentJson; exports.definePageJson = _chunkRMHCFT5Qcjs.definePageJson; exports.defineSitemapJson = _chunkRMHCFT5Qcjs.defineSitemapJson; exports.defineThemeJson = _chunkRMHCFT5Qcjs.defineThemeJson;
|
package/dist/json.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { App, Component, Page, Sitemap, Theme } from '@weapp-core/schematics';
|
|
2
|
-
export { a as defineAppJson, c as defineComponentJson, b as definePageJson, e as defineSitemapJson, f as defineThemeJson } from './config-
|
|
2
|
+
export { a as defineAppJson, c as defineComponentJson, b as definePageJson, e as defineSitemapJson, f as defineThemeJson } from './config-07wfK_aU.cjs';
|
|
3
3
|
import 'vite';
|
|
4
4
|
import '@weapp-vite/web';
|
|
5
5
|
import 'rolldown';
|
package/dist/json.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { App, Component, Page, Sitemap, Theme } from '@weapp-core/schematics';
|
|
2
|
-
export { a as defineAppJson, c as defineComponentJson, b as definePageJson, e as defineSitemapJson, f as defineThemeJson } from './config-
|
|
2
|
+
export { a as defineAppJson, c as defineComponentJson, b as definePageJson, e as defineSitemapJson, f as defineThemeJson } from './config-DVxKePlL.js';
|
|
3
3
|
import 'vite';
|
|
4
4
|
import '@weapp-vite/web';
|
|
5
5
|
import 'rolldown';
|
package/dist/json.mjs
CHANGED
package/dist/types.cjs
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
"use strict";require('./chunk-
|
|
1
|
+
"use strict";require('./chunk-O3YXI56P.cjs');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkQKFYCWOCcjs = require('./chunk-QKFYCWOC.cjs');
|
|
5
5
|
|
|
6
6
|
// src/types/index.ts
|
|
7
|
-
|
|
7
|
+
_chunkQKFYCWOCcjs.init_cjs_shims.call(void 0, );
|
|
8
8
|
|
|
9
9
|
// src/types/config.ts
|
|
10
|
-
|
|
10
|
+
_chunkQKFYCWOCcjs.init_cjs_shims.call(void 0, );
|
|
11
11
|
|
|
12
12
|
// src/types/context.ts
|
|
13
|
-
|
|
13
|
+
_chunkQKFYCWOCcjs.init_cjs_shims.call(void 0, );
|
|
14
14
|
|
|
15
15
|
// src/types/entry.ts
|
|
16
|
-
|
|
16
|
+
_chunkQKFYCWOCcjs.init_cjs_shims.call(void 0, );
|
|
17
17
|
|
|
18
18
|
// src/types/errors.ts
|
|
19
|
-
|
|
19
|
+
_chunkQKFYCWOCcjs.init_cjs_shims.call(void 0, );
|
|
20
20
|
|
|
21
21
|
// src/types/plugin.ts
|
|
22
|
-
|
|
22
|
+
_chunkQKFYCWOCcjs.init_cjs_shims.call(void 0, );
|
|
23
23
|
|
|
24
24
|
// src/types/routes.ts
|
|
25
|
-
|
|
25
|
+
_chunkQKFYCWOCcjs.init_cjs_shims.call(void 0, );
|
package/dist/types.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { A as Alias, g as AliasOptions, Z as AppEntry, B as AutoImportComponents, X as BaseEntry, I as BuildNpmPackageMeta, a2 as ChangeEvent, N as ChunksConfig, $ as ComponentEntry, V as ComponentsMap, y as CopyGlobs, x as CopyOptions, F as EnhanceOptions, E as EnhanceWxmlOptions, Y as Entry, a0 as EntryJsonFragment, l as GenerateDirsOptions, G as GenerateExtensionsOptions, n as GenerateFileType, m as GenerateFilenamesOptions, w as GenerateOptions, s as GenerateTemplate, o as GenerateTemplateContext, t as GenerateTemplateEntry, r as GenerateTemplateFactory, p as GenerateTemplateFileSource, q as GenerateTemplateInlineSource, u as GenerateTemplateScope, v as GenerateTemplatesConfig, H as HandleWxmlOptions, J as JsFormat, M as MpPlatform, _ as PageEntry, P as ProjectConfig, R as ResolvedAlias, T as ScanComponentItem, D as ScanWxmlOptions, K as SharedChunkStrategy, S as SubPackage, O as SubPackageMetaValue, j as SubPackageStyleConfigEntry, i as SubPackageStyleConfigObject, k as SubPackageStyleEntry, h as SubPackageStyleScope, U as UserConfig, W as WeappViteConfig, a1 as WeappVitePluginApi, z as WeappWebConfig, Q as WxmlDep } from './config-
|
|
1
|
+
export { A as Alias, g as AliasOptions, Z as AppEntry, B as AutoImportComponents, X as BaseEntry, I as BuildNpmPackageMeta, a2 as ChangeEvent, N as ChunksConfig, $ as ComponentEntry, V as ComponentsMap, y as CopyGlobs, x as CopyOptions, F as EnhanceOptions, E as EnhanceWxmlOptions, Y as Entry, a0 as EntryJsonFragment, l as GenerateDirsOptions, G as GenerateExtensionsOptions, n as GenerateFileType, m as GenerateFilenamesOptions, w as GenerateOptions, s as GenerateTemplate, o as GenerateTemplateContext, t as GenerateTemplateEntry, r as GenerateTemplateFactory, p as GenerateTemplateFileSource, q as GenerateTemplateInlineSource, u as GenerateTemplateScope, v as GenerateTemplatesConfig, H as HandleWxmlOptions, J as JsFormat, M as MpPlatform, _ as PageEntry, P as ProjectConfig, R as ResolvedAlias, T as ScanComponentItem, D as ScanWxmlOptions, K as SharedChunkStrategy, S as SubPackage, O as SubPackageMetaValue, j as SubPackageStyleConfigEntry, i as SubPackageStyleConfigObject, k as SubPackageStyleEntry, h as SubPackageStyleScope, U as UserConfig, W as WeappViteConfig, a1 as WeappVitePluginApi, z as WeappWebConfig, Q as WxmlDep } from './config-07wfK_aU.cjs';
|
|
2
2
|
export { RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, WatchOptions as RolldownWatchOptions, RolldownWatcher } from 'rolldown';
|
|
3
3
|
export { ConfigEnv, InlineConfig, Plugin, PluginOption, ResolvedConfig, ViteDevServer } from 'vite';
|
|
4
4
|
export { A as AutoRoutes, a as AutoRoutesSubPackage } from './routes-C9hKJjXs.cjs';
|
|
5
5
|
export { R as Resolver } from './types-3q1Qq6Fe.cjs';
|
|
6
|
-
export {
|
|
6
|
+
export { InlineConfig as NpmBuildOptions } from 'tsdown';
|
|
7
7
|
import '@weapp-core/schematics';
|
|
8
8
|
import '@weapp-vite/web';
|
|
9
9
|
import 'vite-plugin-performance';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { A as Alias, g as AliasOptions, Z as AppEntry, B as AutoImportComponents, X as BaseEntry, I as BuildNpmPackageMeta, a2 as ChangeEvent, N as ChunksConfig, $ as ComponentEntry, V as ComponentsMap, y as CopyGlobs, x as CopyOptions, F as EnhanceOptions, E as EnhanceWxmlOptions, Y as Entry, a0 as EntryJsonFragment, l as GenerateDirsOptions, G as GenerateExtensionsOptions, n as GenerateFileType, m as GenerateFilenamesOptions, w as GenerateOptions, s as GenerateTemplate, o as GenerateTemplateContext, t as GenerateTemplateEntry, r as GenerateTemplateFactory, p as GenerateTemplateFileSource, q as GenerateTemplateInlineSource, u as GenerateTemplateScope, v as GenerateTemplatesConfig, H as HandleWxmlOptions, J as JsFormat, M as MpPlatform, _ as PageEntry, P as ProjectConfig, R as ResolvedAlias, T as ScanComponentItem, D as ScanWxmlOptions, K as SharedChunkStrategy, S as SubPackage, O as SubPackageMetaValue, j as SubPackageStyleConfigEntry, i as SubPackageStyleConfigObject, k as SubPackageStyleEntry, h as SubPackageStyleScope, U as UserConfig, W as WeappViteConfig, a1 as WeappVitePluginApi, z as WeappWebConfig, Q as WxmlDep } from './config-
|
|
1
|
+
export { A as Alias, g as AliasOptions, Z as AppEntry, B as AutoImportComponents, X as BaseEntry, I as BuildNpmPackageMeta, a2 as ChangeEvent, N as ChunksConfig, $ as ComponentEntry, V as ComponentsMap, y as CopyGlobs, x as CopyOptions, F as EnhanceOptions, E as EnhanceWxmlOptions, Y as Entry, a0 as EntryJsonFragment, l as GenerateDirsOptions, G as GenerateExtensionsOptions, n as GenerateFileType, m as GenerateFilenamesOptions, w as GenerateOptions, s as GenerateTemplate, o as GenerateTemplateContext, t as GenerateTemplateEntry, r as GenerateTemplateFactory, p as GenerateTemplateFileSource, q as GenerateTemplateInlineSource, u as GenerateTemplateScope, v as GenerateTemplatesConfig, H as HandleWxmlOptions, J as JsFormat, M as MpPlatform, _ as PageEntry, P as ProjectConfig, R as ResolvedAlias, T as ScanComponentItem, D as ScanWxmlOptions, K as SharedChunkStrategy, S as SubPackage, O as SubPackageMetaValue, j as SubPackageStyleConfigEntry, i as SubPackageStyleConfigObject, k as SubPackageStyleEntry, h as SubPackageStyleScope, U as UserConfig, W as WeappViteConfig, a1 as WeappVitePluginApi, z as WeappWebConfig, Q as WxmlDep } from './config-DVxKePlL.js';
|
|
2
2
|
export { RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, WatchOptions as RolldownWatchOptions, RolldownWatcher } from 'rolldown';
|
|
3
3
|
export { ConfigEnv, InlineConfig, Plugin, PluginOption, ResolvedConfig, ViteDevServer } from 'vite';
|
|
4
4
|
export { A as AutoRoutes, a as AutoRoutesSubPackage } from './routes-C9hKJjXs.js';
|
|
5
5
|
export { R as Resolver } from './types-3q1Qq6Fe.js';
|
|
6
|
-
export {
|
|
6
|
+
export { InlineConfig as NpmBuildOptions } from 'tsdown';
|
|
7
7
|
import '@weapp-core/schematics';
|
|
8
8
|
import '@weapp-vite/web';
|
|
9
9
|
import 'vite-plugin-performance';
|