weapp-vite 5.7.2 → 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-routes.cjs +2 -2
- package/dist/auto-routes.mjs +1 -1
- package/dist/{chunk-AUQJOLJS.cjs → chunk-3AGZHFSV.cjs} +4 -4
- package/dist/{chunk-FSDX3XLK.mjs → chunk-DHQDH7RC.mjs} +42 -4
- package/dist/{chunk-HKSOVHNE.cjs → chunk-LZJAPKF7.cjs} +42 -4
- package/dist/{chunk-3WGK7INY.mjs → chunk-R7M4HN7H.mjs} +1 -1
- package/dist/cli.cjs +55 -55
- package/dist/cli.mjs +2 -2
- 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.d.cts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/json.d.cts +1 -1
- package/dist/json.d.ts +1 -1
- package/dist/types.d.cts +2 -2
- package/dist/types.d.ts +2 -2
- package/modules/analyze-dashboard/assets/vue.js +7 -1
- package/package.json +7 -7
|
@@ -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.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/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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
7
|
var _chunkJKNSNXOEcjs = require('./chunk-JKNSNXOE.cjs');
|
|
@@ -27,4 +27,4 @@ _chunkQKFYCWOCcjs.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
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/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';
|