@module-federation/sdk 0.0.0-refactor-manifest-20251017070814 → 0.0.0-refactor-manifest-20251017113212
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.
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type webpack from 'webpack';
|
|
2
2
|
import { Stats } from '../stats';
|
|
3
|
-
import { Manifest } from '../manifest';
|
|
4
3
|
/**
|
|
5
4
|
* Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.
|
|
6
5
|
*/
|
|
@@ -71,7 +70,6 @@ export type SharedItem = string;
|
|
|
71
70
|
export type DataPrefetch = boolean;
|
|
72
71
|
export interface AdditionalDataOptions {
|
|
73
72
|
stats: Stats;
|
|
74
|
-
manifest?: Manifest;
|
|
75
73
|
compiler: webpack.Compiler;
|
|
76
74
|
compilation: webpack.Compilation;
|
|
77
75
|
bundler: 'webpack' | 'rspack';
|
|
@@ -80,7 +78,7 @@ export interface PluginManifestOptions {
|
|
|
80
78
|
filePath?: string;
|
|
81
79
|
disableAssetsAnalyze?: boolean;
|
|
82
80
|
fileName?: string;
|
|
83
|
-
additionalData?: (options: AdditionalDataOptions) => Promise<void> | void;
|
|
81
|
+
additionalData?: (options: AdditionalDataOptions) => Promise<void | Stats> | Stats | void;
|
|
84
82
|
}
|
|
85
83
|
export interface PluginDevOptions {
|
|
86
84
|
disableLiveReload?: boolean;
|
package/package.json
CHANGED