@module-federation/sdk
Advanced tools
Comparing version 0.0.0-next-20240822090000 to 0.0.0-next-20240822101913
{ | ||
"name": "@module-federation/sdk", | ||
"version": "0.4.0", | ||
"version": "0.5.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "A sdk for support module federation", |
@@ -154,2 +154,6 @@ import type webpack from 'webpack'; | ||
/** | ||
* load shared strategy(defaults to 'version-first'). | ||
*/ | ||
shareStrategy?: SharedStrategy; | ||
/** | ||
* Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation. | ||
@@ -295,2 +299,3 @@ */ | ||
} | ||
export type SharedStrategy = 'version-first' | 'loaded-first'; | ||
/** | ||
@@ -325,2 +330,6 @@ * Advanced configuration for modules that should be shared in the share scope. | ||
/** | ||
* load shared strategy(defaults to 'version-first'). | ||
*/ | ||
shareStrategy?: SharedStrategy; | ||
/** | ||
* Allow only a single version of the shared module in share scope (disabled by default). | ||
@@ -327,0 +336,0 @@ */ |
{ | ||
"name": "@module-federation/sdk", | ||
"version": "0.0.0-next-20240822090000", | ||
"version": "0.0.0-next-20240822101913", | ||
"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
100080
2484