@module-federation/vite 1.13.5 → 1.13.6

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/lib/index.d.cts CHANGED
@@ -10,7 +10,7 @@ interface RemoteObjectConfig {
10
10
  entryGlobalName?: string;
11
11
  shareScope?: string;
12
12
  }
13
- interface ManifestOptions {
13
+ interface PluginManifestOptions {
14
14
  filePath?: string;
15
15
  disableAssetsAnalyze?: boolean;
16
16
  fileName?: string;
@@ -48,7 +48,7 @@ type ModuleFederationOptions = {
48
48
  runtimePlugins?: Array<string | [string, Record<string, unknown>]>;
49
49
  getPublicPath?: string;
50
50
  implementation?: string;
51
- manifest?: ManifestOptions | boolean;
51
+ manifest?: PluginManifestOptions | boolean;
52
52
  dev?: boolean | PluginDevOptions;
53
53
  dts?: boolean | PluginDtsOptions;
54
54
  shareStrategy?: ShareStrategy;
@@ -135,4 +135,4 @@ interface DtsHostOptions {
135
135
  //#region src/index.d.ts
136
136
  declare function federation(mfUserOptions: ModuleFederationOptions): Plugin[];
137
137
  //#endregion
138
- export { type ModuleFederationOptions, federation };
138
+ export { type ModuleFederationOptions, type PluginManifestOptions, federation };
package/lib/index.d.mts CHANGED
@@ -10,7 +10,7 @@ interface RemoteObjectConfig {
10
10
  entryGlobalName?: string;
11
11
  shareScope?: string;
12
12
  }
13
- interface ManifestOptions {
13
+ interface PluginManifestOptions {
14
14
  filePath?: string;
15
15
  disableAssetsAnalyze?: boolean;
16
16
  fileName?: string;
@@ -48,7 +48,7 @@ type ModuleFederationOptions = {
48
48
  runtimePlugins?: Array<string | [string, Record<string, unknown>]>;
49
49
  getPublicPath?: string;
50
50
  implementation?: string;
51
- manifest?: ManifestOptions | boolean;
51
+ manifest?: PluginManifestOptions | boolean;
52
52
  dev?: boolean | PluginDevOptions;
53
53
  dts?: boolean | PluginDtsOptions;
54
54
  shareStrategy?: ShareStrategy;
@@ -135,4 +135,4 @@ interface DtsHostOptions {
135
135
  //#region src/index.d.ts
136
136
  declare function federation(mfUserOptions: ModuleFederationOptions): Plugin[];
137
137
  //#endregion
138
- export { type ModuleFederationOptions, federation };
138
+ export { type ModuleFederationOptions, type PluginManifestOptions, federation };