weapp-vite 5.11.3 → 5.12.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 +6 -6
- 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-2KCQ5UBK.cjs +6 -0
- package/dist/{chunk-PEV37KCS.mjs → chunk-46VA2TEF.mjs} +1 -1
- package/dist/{chunk-HJIQ5LPK.cjs → chunk-7DRE4BEK.cjs} +6 -6
- package/dist/{chunk-TYFSFH5L.mjs → chunk-7KGGMLZZ.mjs} +1 -1
- package/dist/{chunk-OHNCYFYF.cjs → chunk-ANDG4OME.cjs} +283 -264
- package/dist/{chunk-DJQDNKZV.cjs → chunk-INJNZ3X2.cjs} +2 -2
- package/dist/{chunk-HXREOGBF.mjs → chunk-IVFT4TLR.mjs} +1 -1
- package/dist/{chunk-I2SATVTN.mjs → chunk-LLYDSPS7.mjs} +2 -2
- package/dist/{chunk-FRDBMQFQ.mjs → chunk-MDUMD5GP.mjs} +2 -2
- package/dist/{chunk-SDBHHXQJ.cjs → chunk-MTUYQJIF.cjs} +2 -2
- package/dist/{chunk-Q4XJZVQL.cjs → chunk-N5FVU7GR.cjs} +2 -2
- package/dist/{chunk-LPIU437C.mjs → chunk-TS7WK45E.mjs} +61 -42
- package/dist/cli.cjs +77 -77
- package/dist/cli.mjs +3 -3
- package/dist/{config-D1eBLaq2.d.cts → config-DgMm7Geo.d.cts} +19 -19
- package/dist/{config-9JglUSN2.d.ts → config-sFIhUM69.d.ts} +19 -19
- package/dist/config.cjs +4 -4
- package/dist/config.d.cts +1 -2
- package/dist/config.d.ts +1 -2
- package/dist/config.mjs +3 -3
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.mjs +6 -6
- package/dist/json.cjs +3 -3
- package/dist/json.d.cts +1 -2
- package/dist/json.d.ts +1 -2
- package/dist/json.mjs +2 -2
- package/dist/types.cjs +9 -9
- package/dist/types.d.cts +1 -2
- package/dist/types.d.ts +1 -2
- package/dist/types.mjs +2 -2
- package/dist/volar.cjs +2 -2
- package/dist/volar.mjs +1 -1
- package/modules/analyze-dashboard/assets/vue.js +1 -1
- package/package.json +15 -16
- package/dist/chunk-FKD2WGWW.cjs +0 -6
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { InlineConfig
|
|
1
|
+
import { InlineConfig, 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 { InlineConfig } from 'tsdown';
|
|
6
5
|
import { WrapPluginOptions } from 'vite-plugin-performance';
|
|
7
6
|
import { PluginOptions } from 'vite-tsconfig-paths';
|
|
8
7
|
import { R as Resolver, a as ResolvedValue } from './types-3q1Qq6Fe.js';
|
|
@@ -13,6 +12,7 @@ import { Buffer } from 'node:buffer';
|
|
|
13
12
|
import { LRUCache } from 'lru-cache';
|
|
14
13
|
import { A as AutoRoutes } from './routes-C9hKJjXs.js';
|
|
15
14
|
|
|
15
|
+
type NpmBuildOptions = InlineConfig;
|
|
16
16
|
interface Alias {
|
|
17
17
|
find: string | RegExp;
|
|
18
18
|
replacement: string;
|
|
@@ -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>;
|
|
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;
|
|
199
199
|
}
|
|
200
200
|
interface AutoImportComponents {
|
|
201
201
|
/**
|
|
@@ -321,9 +321,9 @@ interface WeappViteConfig {
|
|
|
321
321
|
*/
|
|
322
322
|
cache?: boolean;
|
|
323
323
|
/**
|
|
324
|
-
* @description 构建 npm
|
|
324
|
+
* @description 构建 npm 的配置,可传入 Vite 的库模式配置,让不同的包走不同的配置
|
|
325
325
|
*/
|
|
326
|
-
buildOptions?: (options:
|
|
326
|
+
buildOptions?: (options: NpmBuildOptions, pkgMeta: BuildNpmPackageMeta) => NpmBuildOptions | undefined;
|
|
327
327
|
};
|
|
328
328
|
/**
|
|
329
329
|
* @group 生成脚手架配置
|
|
@@ -519,11 +519,11 @@ interface LoadConfigOptions {
|
|
|
519
519
|
cwd: string;
|
|
520
520
|
isDev: boolean;
|
|
521
521
|
mode: string;
|
|
522
|
-
inlineConfig?: InlineConfig
|
|
522
|
+
inlineConfig?: InlineConfig;
|
|
523
523
|
configFile?: string;
|
|
524
524
|
}
|
|
525
525
|
interface LoadConfigResult {
|
|
526
|
-
config: InlineConfig
|
|
526
|
+
config: InlineConfig;
|
|
527
527
|
aliasEntries: ResolvedAlias[];
|
|
528
528
|
outputExtensions: OutputExtensions;
|
|
529
529
|
packageJson: PackageJson;
|
|
@@ -555,17 +555,17 @@ interface ConfigService {
|
|
|
555
555
|
packageInfo: PackageInfo;
|
|
556
556
|
setDefineEnv: (key: string, value: any) => void;
|
|
557
557
|
load: (options?: Partial<LoadConfigOptions>) => Promise<LoadConfigResult>;
|
|
558
|
-
mergeWorkers: (...configs: Partial<InlineConfig
|
|
559
|
-
merge: (subPackageMeta?: SubPackageMetaValue, ...configs: Partial<InlineConfig
|
|
560
|
-
mergeWeb: (...configs: Partial<InlineConfig
|
|
561
|
-
mergeInlineConfig: (...configs: Partial<InlineConfig
|
|
558
|
+
mergeWorkers: (...configs: Partial<InlineConfig>[]) => InlineConfig;
|
|
559
|
+
merge: (subPackageMeta?: SubPackageMetaValue, ...configs: Partial<InlineConfig | undefined>[]) => InlineConfig;
|
|
560
|
+
mergeWeb: (...configs: Partial<InlineConfig | undefined>[]) => InlineConfig | undefined;
|
|
561
|
+
mergeInlineConfig: (...configs: Partial<InlineConfig>[]) => InlineConfig;
|
|
562
562
|
readonly defineImportMetaEnv: Record<string, any>;
|
|
563
563
|
readonly cwd: string;
|
|
564
564
|
readonly isDev: boolean;
|
|
565
565
|
readonly mpDistRoot: string;
|
|
566
566
|
readonly outDir: string;
|
|
567
|
-
readonly inlineConfig: InlineConfig
|
|
568
|
-
readonly weappViteConfig: NonNullable<InlineConfig
|
|
567
|
+
readonly inlineConfig: InlineConfig;
|
|
568
|
+
readonly weappViteConfig: NonNullable<InlineConfig['weapp']>;
|
|
569
569
|
readonly packageJson: PackageJson;
|
|
570
570
|
readonly projectConfig: Record<string, any>;
|
|
571
571
|
readonly srcRoot: string;
|
|
@@ -592,7 +592,7 @@ interface ResolvedWeappWebConfig {
|
|
|
592
592
|
pluginOptions: Omit<WeappWebPluginOptions, 'srcDir'> & {
|
|
593
593
|
srcDir: string;
|
|
594
594
|
};
|
|
595
|
-
userConfig?: InlineConfig
|
|
595
|
+
userConfig?: InlineConfig;
|
|
596
596
|
source?: WeappWebConfig;
|
|
597
597
|
}
|
|
598
598
|
|
|
@@ -633,7 +633,7 @@ interface NpmService {
|
|
|
633
633
|
bundleBuild: (args: {
|
|
634
634
|
entry: InputOption;
|
|
635
635
|
name: string;
|
|
636
|
-
options?:
|
|
636
|
+
options?: NpmBuildOptions;
|
|
637
637
|
outDir: string;
|
|
638
638
|
}) => Promise<void>;
|
|
639
639
|
copyBuild: (args: {
|
|
@@ -644,14 +644,14 @@ interface NpmService {
|
|
|
644
644
|
buildPackage: (args: {
|
|
645
645
|
dep: string;
|
|
646
646
|
outDir: string;
|
|
647
|
-
options?:
|
|
647
|
+
options?: NpmBuildOptions;
|
|
648
648
|
isDependenciesCacheOutdate: boolean;
|
|
649
649
|
}) => Promise<void>;
|
|
650
650
|
getPackNpmRelationList: () => {
|
|
651
651
|
packageJsonPath: string;
|
|
652
652
|
miniprogramNpmDistDir: string;
|
|
653
653
|
}[];
|
|
654
|
-
build: (options?:
|
|
654
|
+
build: (options?: NpmBuildOptions) => Promise<void>;
|
|
655
655
|
}
|
|
656
656
|
|
|
657
657
|
interface Token {
|
|
@@ -873,4 +873,4 @@ declare function defineConfig(config: Promise<UserConfig$1>): Promise<UserConfig
|
|
|
873
873
|
declare function defineConfig(config: UserConfigFnObject): UserConfigFnObject;
|
|
874
874
|
declare function defineConfig(config: UserConfigExport): UserConfigExport;
|
|
875
875
|
|
|
876
|
-
export { type
|
|
876
|
+
export { type AppEntry as $, type Alias as A, type AutoImportComponents as B, type CompilerContext as C, type AutoImportComponentsOption as D, type EnhanceWxmlOptions as E, type ScanWxmlOptions as F, type GenerateExtensionsOptions as G, type HandleWxmlOptions as H, type EnhanceOptions as I, type BuildNpmPackageMeta as J, type JsFormat as K, type LoadConfigOptions as L, type MpPlatform as M, type NpmBuildOptions as N, type SharedChunkStrategy as O, type ChunksConfig as P, type ProjectConfig as Q, type ResolvedAlias as R, type SubPackage as S, type SubPackageMetaValue as T, type UserConfig as U, type WxmlDep as V, type WeappViteConfig as W, type ScanComponentItem as X, type ComponentsMap as Y, type BaseEntry as Z, type Entry as _, defineAppJson as a, type PageEntry as a0, type ComponentEntry as a1, type EntryJsonFragment as a2, type WeappVitePluginApi as a3, type ChangeEvent as a4, definePageJson as b, defineComponentJson as c, defineConfig as d, defineSitemapJson as e, defineThemeJson as f, type AliasOptions as g, type SubPackageStyleScope as h, type SubPackageStyleConfigObject as i, type SubPackageStyleConfigEntry as j, type SubPackageStyleEntry as k, type GenerateDirsOptions as l, type GenerateFilenamesOptions as m, type GenerateFileType as n, type GenerateTemplateContext as o, type GenerateTemplateFileSource as p, type GenerateTemplateInlineSource as q, type GenerateTemplateFactory as r, type GenerateTemplate as s, type GenerateTemplateEntry as t, type GenerateTemplateScope as u, type GenerateTemplatesConfig as v, type GenerateOptions as w, type CopyOptions as x, type CopyGlobs as y, type WeappWebConfig as z };
|
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 _chunkINJNZ3X2cjs = require('./chunk-INJNZ3X2.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('./chunk-
|
|
10
|
+
var _chunkMTUYQJIFcjs = require('./chunk-MTUYQJIF.cjs');
|
|
11
|
+
require('./chunk-N5FVU7GR.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -16,4 +16,4 @@ require('./chunk-Q4XJZVQL.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
exports.defineAppJson =
|
|
19
|
+
exports.defineAppJson = _chunkMTUYQJIFcjs.defineAppJson; exports.defineComponentJson = _chunkMTUYQJIFcjs.defineComponentJson; exports.defineConfig = _chunkINJNZ3X2cjs.defineConfig; exports.definePageJson = _chunkMTUYQJIFcjs.definePageJson; exports.defineSitemapJson = _chunkMTUYQJIFcjs.defineSitemapJson; exports.defineThemeJson = _chunkMTUYQJIFcjs.defineThemeJson;
|
package/dist/config.d.cts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
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-DgMm7Geo.cjs';
|
|
3
3
|
export { App, Component, Page, Sitemap, Theme } from '@weapp-core/schematics';
|
|
4
4
|
import '@weapp-vite/web';
|
|
5
5
|
import 'rolldown';
|
|
6
|
-
import 'tsdown';
|
|
7
6
|
import 'vite-plugin-performance';
|
|
8
7
|
import 'vite-tsconfig-paths';
|
|
9
8
|
import './types-3q1Qq6Fe.cjs';
|
package/dist/config.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
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-sFIhUM69.js';
|
|
3
3
|
export { App, Component, Page, Sitemap, Theme } from '@weapp-core/schematics';
|
|
4
4
|
import '@weapp-vite/web';
|
|
5
5
|
import 'rolldown';
|
|
6
|
-
import 'tsdown';
|
|
7
6
|
import 'vite-plugin-performance';
|
|
8
7
|
import 'vite-tsconfig-paths';
|
|
9
8
|
import './types-3q1Qq6Fe.js';
|
package/dist/config.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defineConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-46VA2TEF.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-IVFT4TLR.mjs";
|
|
11
|
+
import "./chunk-MDUMD5GP.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 _chunk7DRE4BEKcjs = require('./chunk-7DRE4BEK.cjs');
|
|
4
|
+
require('./chunk-ANDG4OME.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkINJNZ3X2cjs = require('./chunk-INJNZ3X2.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
14
|
+
var _chunkMTUYQJIFcjs = require('./chunk-MTUYQJIF.cjs');
|
|
15
|
+
require('./chunk-2KCQ5UBK.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkN5FVU7GRcjs = require('./chunk-N5FVU7GR.cjs');
|
|
19
19
|
|
|
20
20
|
// src/index.ts
|
|
21
|
-
|
|
21
|
+
_chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -27,4 +27,4 @@ _chunkQ4XJZVQLcjs.init_cjs_shims.call(void 0, );
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
exports.createCompilerContext =
|
|
30
|
+
exports.createCompilerContext = _chunk7DRE4BEKcjs.createCompilerContext; exports.defineAppJson = _chunkMTUYQJIFcjs.defineAppJson; exports.defineComponentJson = _chunkMTUYQJIFcjs.defineComponentJson; exports.defineConfig = _chunkINJNZ3X2cjs.defineConfig; exports.definePageJson = _chunkMTUYQJIFcjs.definePageJson; exports.defineSitemapJson = _chunkMTUYQJIFcjs.defineSitemapJson; exports.defineThemeJson = _chunkMTUYQJIFcjs.defineThemeJson;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
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-DgMm7Geo.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-DgMm7Geo.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';
|
|
6
6
|
import '@weapp-vite/web';
|
|
7
|
-
import 'tsdown';
|
|
8
7
|
import 'vite-plugin-performance';
|
|
9
8
|
import 'vite-tsconfig-paths';
|
|
10
9
|
import './types-3q1Qq6Fe.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
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-sFIhUM69.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-sFIhUM69.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';
|
|
6
6
|
import '@weapp-vite/web';
|
|
7
|
-
import 'tsdown';
|
|
8
7
|
import 'vite-plugin-performance';
|
|
9
8
|
import 'vite-tsconfig-paths';
|
|
10
9
|
import './types-3q1Qq6Fe.js';
|
package/dist/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCompilerContext
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-LLYDSPS7.mjs";
|
|
4
|
+
import "./chunk-TS7WK45E.mjs";
|
|
5
5
|
import {
|
|
6
6
|
defineConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-46VA2TEF.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-IVFT4TLR.mjs";
|
|
15
|
+
import "./chunk-7KGGMLZZ.mjs";
|
|
16
16
|
import {
|
|
17
17
|
init_esm_shims
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MDUMD5GP.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 _chunkMTUYQJIFcjs = require('./chunk-MTUYQJIF.cjs');
|
|
8
|
+
require('./chunk-N5FVU7GR.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.defineAppJson =
|
|
15
|
+
exports.defineAppJson = _chunkMTUYQJIFcjs.defineAppJson; exports.defineComponentJson = _chunkMTUYQJIFcjs.defineComponentJson; exports.definePageJson = _chunkMTUYQJIFcjs.definePageJson; exports.defineSitemapJson = _chunkMTUYQJIFcjs.defineSitemapJson; exports.defineThemeJson = _chunkMTUYQJIFcjs.defineThemeJson;
|
package/dist/json.d.cts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
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-DgMm7Geo.cjs';
|
|
3
3
|
import 'vite';
|
|
4
4
|
import '@weapp-vite/web';
|
|
5
5
|
import 'rolldown';
|
|
6
|
-
import 'tsdown';
|
|
7
6
|
import 'vite-plugin-performance';
|
|
8
7
|
import 'vite-tsconfig-paths';
|
|
9
8
|
import './types-3q1Qq6Fe.cjs';
|
package/dist/json.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
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-sFIhUM69.js';
|
|
3
3
|
import 'vite';
|
|
4
4
|
import '@weapp-vite/web';
|
|
5
5
|
import 'rolldown';
|
|
6
|
-
import 'tsdown';
|
|
7
6
|
import 'vite-plugin-performance';
|
|
8
7
|
import 'vite-tsconfig-paths';
|
|
9
8
|
import './types-3q1Qq6Fe.js';
|
package/dist/json.mjs
CHANGED
package/dist/types.cjs
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
"use strict";require('./chunk-
|
|
1
|
+
"use strict";require('./chunk-2KCQ5UBK.cjs');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkN5FVU7GRcjs = require('./chunk-N5FVU7GR.cjs');
|
|
5
5
|
|
|
6
6
|
// src/types/index.ts
|
|
7
|
-
|
|
7
|
+
_chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
|
|
8
8
|
|
|
9
9
|
// src/types/config.ts
|
|
10
|
-
|
|
10
|
+
_chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
|
|
11
11
|
|
|
12
12
|
// src/types/context.ts
|
|
13
|
-
|
|
13
|
+
_chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
|
|
14
14
|
|
|
15
15
|
// src/types/entry.ts
|
|
16
|
-
|
|
16
|
+
_chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
|
|
17
17
|
|
|
18
18
|
// src/types/errors.ts
|
|
19
|
-
|
|
19
|
+
_chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
|
|
20
20
|
|
|
21
21
|
// src/types/plugin.ts
|
|
22
|
-
|
|
22
|
+
_chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
|
|
23
23
|
|
|
24
24
|
// src/types/routes.ts
|
|
25
|
-
|
|
25
|
+
_chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
|
package/dist/types.d.cts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
export { A as Alias, g as AliasOptions,
|
|
1
|
+
export { A as Alias, g as AliasOptions, $ as AppEntry, B as AutoImportComponents, D as AutoImportComponentsOption, Z as BaseEntry, J as BuildNpmPackageMeta, a4 as ChangeEvent, P as ChunksConfig, a1 as ComponentEntry, Y as ComponentsMap, y as CopyGlobs, x as CopyOptions, I as EnhanceOptions, E as EnhanceWxmlOptions, _ as Entry, a2 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, K as JsFormat, M as MpPlatform, N as NpmBuildOptions, a0 as PageEntry, Q as ProjectConfig, R as ResolvedAlias, X as ScanComponentItem, F as ScanWxmlOptions, O as SharedChunkStrategy, S as SubPackage, T as SubPackageMetaValue, j as SubPackageStyleConfigEntry, i as SubPackageStyleConfigObject, k as SubPackageStyleEntry, h as SubPackageStyleScope, U as UserConfig, W as WeappViteConfig, a3 as WeappVitePluginApi, z as WeappWebConfig, V as WxmlDep } from './config-DgMm7Geo.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 { InlineConfig as NpmBuildOptions } from 'tsdown';
|
|
7
6
|
import '@weapp-core/schematics';
|
|
8
7
|
import '@weapp-vite/web';
|
|
9
8
|
import 'vite-plugin-performance';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
export { A as Alias, g as AliasOptions,
|
|
1
|
+
export { A as Alias, g as AliasOptions, $ as AppEntry, B as AutoImportComponents, D as AutoImportComponentsOption, Z as BaseEntry, J as BuildNpmPackageMeta, a4 as ChangeEvent, P as ChunksConfig, a1 as ComponentEntry, Y as ComponentsMap, y as CopyGlobs, x as CopyOptions, I as EnhanceOptions, E as EnhanceWxmlOptions, _ as Entry, a2 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, K as JsFormat, M as MpPlatform, N as NpmBuildOptions, a0 as PageEntry, Q as ProjectConfig, R as ResolvedAlias, X as ScanComponentItem, F as ScanWxmlOptions, O as SharedChunkStrategy, S as SubPackage, T as SubPackageMetaValue, j as SubPackageStyleConfigEntry, i as SubPackageStyleConfigObject, k as SubPackageStyleEntry, h as SubPackageStyleScope, U as UserConfig, W as WeappViteConfig, a3 as WeappVitePluginApi, z as WeappWebConfig, V as WxmlDep } from './config-sFIhUM69.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 { InlineConfig as NpmBuildOptions } from 'tsdown';
|
|
7
6
|
import '@weapp-core/schematics';
|
|
8
7
|
import '@weapp-vite/web';
|
|
9
8
|
import 'vite-plugin-performance';
|
package/dist/types.mjs
CHANGED
package/dist/volar.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkN5FVU7GRcjs = require('./chunk-N5FVU7GR.cjs');
|
|
4
4
|
|
|
5
5
|
// src/volar.ts
|
|
6
|
-
|
|
6
|
+
_chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
|
|
7
7
|
var _volar = require('@weapp-vite/volar'); var _volar2 = _interopRequireDefault(_volar);
|
|
8
8
|
var volar_default = _volar2.default;
|
|
9
9
|
|