@module-federation/sdk
Advanced tools
Comparing version 0.0.0-next-20240307100534 to 0.0.0-next-20240307111914
@@ -0,1 +1,2 @@ | ||
import type webpack from 'webpack'; | ||
import { Stats } from '../stats'; | ||
@@ -66,2 +67,9 @@ /** | ||
export type SharedItem = string; | ||
export interface AdditionalDataOptions { | ||
stats: Stats; | ||
pluginOptions: ModuleFederationPluginOptions; | ||
compiler: webpack.Compiler; | ||
compilation: webpack.Compilation; | ||
bundler: 'webpack' | 'rspack'; | ||
} | ||
export interface PluginManifestOptions { | ||
@@ -71,3 +79,3 @@ filePath?: string; | ||
fileName?: string; | ||
additionalData?: (stats: Stats) => Promise<Stats | void> | Stats | void; | ||
additionalData?: (options: AdditionalDataOptions) => Promise<Stats | void> | Stats | void; | ||
} | ||
@@ -74,0 +82,0 @@ export interface ModuleFederationPluginOptions { |
{ | ||
"name": "@module-federation/sdk", | ||
"version": "0.0.0-next-20240307100534", | ||
"version": "0.0.0-next-20240307111914", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "A sdk for support module federation", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
130828
3313