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.
Files changed (41) hide show
  1. package/dist/auto-import-components/resolvers.cjs +6 -6
  2. package/dist/auto-import-components/resolvers.mjs +1 -1
  3. package/dist/auto-routes.cjs +8 -8
  4. package/dist/auto-routes.mjs +4 -4
  5. package/dist/chunk-2KCQ5UBK.cjs +6 -0
  6. package/dist/{chunk-PEV37KCS.mjs → chunk-46VA2TEF.mjs} +1 -1
  7. package/dist/{chunk-HJIQ5LPK.cjs → chunk-7DRE4BEK.cjs} +6 -6
  8. package/dist/{chunk-TYFSFH5L.mjs → chunk-7KGGMLZZ.mjs} +1 -1
  9. package/dist/{chunk-OHNCYFYF.cjs → chunk-ANDG4OME.cjs} +283 -264
  10. package/dist/{chunk-DJQDNKZV.cjs → chunk-INJNZ3X2.cjs} +2 -2
  11. package/dist/{chunk-HXREOGBF.mjs → chunk-IVFT4TLR.mjs} +1 -1
  12. package/dist/{chunk-I2SATVTN.mjs → chunk-LLYDSPS7.mjs} +2 -2
  13. package/dist/{chunk-FRDBMQFQ.mjs → chunk-MDUMD5GP.mjs} +2 -2
  14. package/dist/{chunk-SDBHHXQJ.cjs → chunk-MTUYQJIF.cjs} +2 -2
  15. package/dist/{chunk-Q4XJZVQL.cjs → chunk-N5FVU7GR.cjs} +2 -2
  16. package/dist/{chunk-LPIU437C.mjs → chunk-TS7WK45E.mjs} +61 -42
  17. package/dist/cli.cjs +77 -77
  18. package/dist/cli.mjs +3 -3
  19. package/dist/{config-D1eBLaq2.d.cts → config-DgMm7Geo.d.cts} +19 -19
  20. package/dist/{config-9JglUSN2.d.ts → config-sFIhUM69.d.ts} +19 -19
  21. package/dist/config.cjs +4 -4
  22. package/dist/config.d.cts +1 -2
  23. package/dist/config.d.ts +1 -2
  24. package/dist/config.mjs +3 -3
  25. package/dist/index.cjs +8 -8
  26. package/dist/index.d.cts +2 -3
  27. package/dist/index.d.ts +2 -3
  28. package/dist/index.mjs +6 -6
  29. package/dist/json.cjs +3 -3
  30. package/dist/json.d.cts +1 -2
  31. package/dist/json.d.ts +1 -2
  32. package/dist/json.mjs +2 -2
  33. package/dist/types.cjs +9 -9
  34. package/dist/types.d.cts +1 -2
  35. package/dist/types.d.ts +1 -2
  36. package/dist/types.mjs +2 -2
  37. package/dist/volar.cjs +2 -2
  38. package/dist/volar.mjs +1 -1
  39. package/modules/analyze-dashboard/assets/vue.js +1 -1
  40. package/package.json +15 -16
  41. package/dist/chunk-FKD2WGWW.cjs +0 -6
@@ -1,8 +1,7 @@
1
- import { InlineConfig as InlineConfig$1, UserConfig as UserConfig$1, ViteDevServer, build, UserConfigFnObject, UserConfigExport } from 'vite';
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$1>;
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$1;
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 的配置,可以配置这个选项给 tsdown,让不同的包走不同的配置
324
+ * @description 构建 npm 的配置,可传入 Vite 的库模式配置,让不同的包走不同的配置
325
325
  */
326
- buildOptions?: (options: InlineConfig, pkgMeta: BuildNpmPackageMeta) => InlineConfig | undefined;
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$1;
522
+ inlineConfig?: InlineConfig;
523
523
  configFile?: string;
524
524
  }
525
525
  interface LoadConfigResult {
526
- config: InlineConfig$1;
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$1>[]) => InlineConfig$1;
559
- merge: (subPackageMeta?: SubPackageMetaValue, ...configs: Partial<InlineConfig$1 | undefined>[]) => InlineConfig$1;
560
- mergeWeb: (...configs: Partial<InlineConfig$1 | undefined>[]) => InlineConfig$1 | undefined;
561
- mergeInlineConfig: (...configs: Partial<InlineConfig$1>[]) => InlineConfig$1;
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$1;
568
- readonly weappViteConfig: NonNullable<InlineConfig$1['weapp']>;
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$1;
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?: InlineConfig;
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?: InlineConfig;
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?: InlineConfig) => Promise<void>;
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 PageEntry 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 SharedChunkStrategy as N, type ChunksConfig as O, type ProjectConfig as P, type SubPackageMetaValue as Q, type ResolvedAlias as R, type SubPackage as S, type WxmlDep as T, type UserConfig as U, type ScanComponentItem as V, type WeappViteConfig as W, type ComponentsMap as X, type BaseEntry as Y, type Entry as Z, type AppEntry as _, defineAppJson as a, type ComponentEntry as a0, type EntryJsonFragment as a1, type WeappVitePluginApi as a2, type ChangeEvent as a3, 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 };
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 _chunkDJQDNKZVcjs = require('./chunk-DJQDNKZV.cjs');
3
+ var _chunkINJNZ3X2cjs = require('./chunk-INJNZ3X2.cjs');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkSDBHHXQJcjs = require('./chunk-SDBHHXQJ.cjs');
11
- require('./chunk-Q4XJZVQL.cjs');
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 = _chunkSDBHHXQJcjs.defineAppJson; exports.defineComponentJson = _chunkSDBHHXQJcjs.defineComponentJson; exports.defineConfig = _chunkDJQDNKZVcjs.defineConfig; exports.definePageJson = _chunkSDBHHXQJcjs.definePageJson; exports.defineSitemapJson = _chunkSDBHHXQJcjs.defineSitemapJson; exports.defineThemeJson = _chunkSDBHHXQJcjs.defineThemeJson;
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-D1eBLaq2.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 { 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-9JglUSN2.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 { 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-PEV37KCS.mjs";
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-HXREOGBF.mjs";
11
- import "./chunk-FRDBMQFQ.mjs";
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 _chunkHJIQ5LPKcjs = require('./chunk-HJIQ5LPK.cjs');
4
- require('./chunk-OHNCYFYF.cjs');
3
+ var _chunk7DRE4BEKcjs = require('./chunk-7DRE4BEK.cjs');
4
+ require('./chunk-ANDG4OME.cjs');
5
5
 
6
6
 
7
- var _chunkDJQDNKZVcjs = require('./chunk-DJQDNKZV.cjs');
7
+ var _chunkINJNZ3X2cjs = require('./chunk-INJNZ3X2.cjs');
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkSDBHHXQJcjs = require('./chunk-SDBHHXQJ.cjs');
15
- require('./chunk-FKD2WGWW.cjs');
14
+ var _chunkMTUYQJIFcjs = require('./chunk-MTUYQJIF.cjs');
15
+ require('./chunk-2KCQ5UBK.cjs');
16
16
 
17
17
 
18
- var _chunkQ4XJZVQLcjs = require('./chunk-Q4XJZVQL.cjs');
18
+ var _chunkN5FVU7GRcjs = require('./chunk-N5FVU7GR.cjs');
19
19
 
20
20
  // src/index.ts
21
- _chunkQ4XJZVQLcjs.init_cjs_shims.call(void 0, );
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 = _chunkHJIQ5LPKcjs.createCompilerContext; exports.defineAppJson = _chunkSDBHHXQJcjs.defineAppJson; exports.defineComponentJson = _chunkSDBHHXQJcjs.defineComponentJson; exports.defineConfig = _chunkDJQDNKZVcjs.defineConfig; exports.definePageJson = _chunkSDBHHXQJcjs.definePageJson; exports.defineSitemapJson = _chunkSDBHHXQJcjs.defineSitemapJson; exports.defineThemeJson = _chunkSDBHHXQJcjs.defineThemeJson;
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-D1eBLaq2.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-D1eBLaq2.cjs';
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-9JglUSN2.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-9JglUSN2.js';
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-I2SATVTN.mjs";
4
- import "./chunk-LPIU437C.mjs";
3
+ } from "./chunk-LLYDSPS7.mjs";
4
+ import "./chunk-TS7WK45E.mjs";
5
5
  import {
6
6
  defineConfig
7
- } from "./chunk-PEV37KCS.mjs";
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-HXREOGBF.mjs";
15
- import "./chunk-TYFSFH5L.mjs";
14
+ } from "./chunk-IVFT4TLR.mjs";
15
+ import "./chunk-7KGGMLZZ.mjs";
16
16
  import {
17
17
  init_esm_shims
18
- } from "./chunk-FRDBMQFQ.mjs";
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 _chunkSDBHHXQJcjs = require('./chunk-SDBHHXQJ.cjs');
8
- require('./chunk-Q4XJZVQL.cjs');
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 = _chunkSDBHHXQJcjs.defineAppJson; exports.defineComponentJson = _chunkSDBHHXQJcjs.defineComponentJson; exports.definePageJson = _chunkSDBHHXQJcjs.definePageJson; exports.defineSitemapJson = _chunkSDBHHXQJcjs.defineSitemapJson; exports.defineThemeJson = _chunkSDBHHXQJcjs.defineThemeJson;
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-D1eBLaq2.cjs';
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-9JglUSN2.js';
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
@@ -4,8 +4,8 @@ import {
4
4
  definePageJson,
5
5
  defineSitemapJson,
6
6
  defineThemeJson
7
- } from "./chunk-HXREOGBF.mjs";
8
- import "./chunk-FRDBMQFQ.mjs";
7
+ } from "./chunk-IVFT4TLR.mjs";
8
+ import "./chunk-MDUMD5GP.mjs";
9
9
  export {
10
10
  defineAppJson,
11
11
  defineComponentJson,
package/dist/types.cjs CHANGED
@@ -1,25 +1,25 @@
1
- "use strict";require('./chunk-FKD2WGWW.cjs');
1
+ "use strict";require('./chunk-2KCQ5UBK.cjs');
2
2
 
3
3
 
4
- var _chunkQ4XJZVQLcjs = require('./chunk-Q4XJZVQL.cjs');
4
+ var _chunkN5FVU7GRcjs = require('./chunk-N5FVU7GR.cjs');
5
5
 
6
6
  // src/types/index.ts
7
- _chunkQ4XJZVQLcjs.init_cjs_shims.call(void 0, );
7
+ _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
8
8
 
9
9
  // src/types/config.ts
10
- _chunkQ4XJZVQLcjs.init_cjs_shims.call(void 0, );
10
+ _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
11
11
 
12
12
  // src/types/context.ts
13
- _chunkQ4XJZVQLcjs.init_cjs_shims.call(void 0, );
13
+ _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
14
14
 
15
15
  // src/types/entry.ts
16
- _chunkQ4XJZVQLcjs.init_cjs_shims.call(void 0, );
16
+ _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
17
17
 
18
18
  // src/types/errors.ts
19
- _chunkQ4XJZVQLcjs.init_cjs_shims.call(void 0, );
19
+ _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
20
20
 
21
21
  // src/types/plugin.ts
22
- _chunkQ4XJZVQLcjs.init_cjs_shims.call(void 0, );
22
+ _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
23
23
 
24
24
  // src/types/routes.ts
25
- _chunkQ4XJZVQLcjs.init_cjs_shims.call(void 0, );
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, _ as AppEntry, B as AutoImportComponents, D as AutoImportComponentsOption, Y as BaseEntry, J as BuildNpmPackageMeta, a3 as ChangeEvent, O as ChunksConfig, a0 as ComponentEntry, X as ComponentsMap, y as CopyGlobs, x as CopyOptions, I as EnhanceOptions, E as EnhanceWxmlOptions, Z as Entry, a1 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, $ as PageEntry, P as ProjectConfig, R as ResolvedAlias, V as ScanComponentItem, F as ScanWxmlOptions, N as SharedChunkStrategy, S as SubPackage, Q as SubPackageMetaValue, j as SubPackageStyleConfigEntry, i as SubPackageStyleConfigObject, k as SubPackageStyleEntry, h as SubPackageStyleScope, U as UserConfig, W as WeappViteConfig, a2 as WeappVitePluginApi, z as WeappWebConfig, T as WxmlDep } from './config-D1eBLaq2.cjs';
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, _ as AppEntry, B as AutoImportComponents, D as AutoImportComponentsOption, Y as BaseEntry, J as BuildNpmPackageMeta, a3 as ChangeEvent, O as ChunksConfig, a0 as ComponentEntry, X as ComponentsMap, y as CopyGlobs, x as CopyOptions, I as EnhanceOptions, E as EnhanceWxmlOptions, Z as Entry, a1 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, $ as PageEntry, P as ProjectConfig, R as ResolvedAlias, V as ScanComponentItem, F as ScanWxmlOptions, N as SharedChunkStrategy, S as SubPackage, Q as SubPackageMetaValue, j as SubPackageStyleConfigEntry, i as SubPackageStyleConfigObject, k as SubPackageStyleEntry, h as SubPackageStyleScope, U as UserConfig, W as WeappViteConfig, a2 as WeappVitePluginApi, z as WeappWebConfig, T as WxmlDep } from './config-9JglUSN2.js';
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
@@ -1,7 +1,7 @@
1
- import "./chunk-TYFSFH5L.mjs";
1
+ import "./chunk-7KGGMLZZ.mjs";
2
2
  import {
3
3
  init_esm_shims
4
- } from "./chunk-FRDBMQFQ.mjs";
4
+ } from "./chunk-MDUMD5GP.mjs";
5
5
 
6
6
  // src/types/index.ts
7
7
  init_esm_shims();
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 _chunkQ4XJZVQLcjs = require('./chunk-Q4XJZVQL.cjs');
3
+ var _chunkN5FVU7GRcjs = require('./chunk-N5FVU7GR.cjs');
4
4
 
5
5
  // src/volar.ts
6
- _chunkQ4XJZVQLcjs.init_cjs_shims.call(void 0, );
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
 
package/dist/volar.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-FRDBMQFQ.mjs";
3
+ } from "./chunk-MDUMD5GP.mjs";
4
4
 
5
5
  // src/volar.ts
6
6
  init_esm_shims();