@module-federation/enhanced
Advanced tools
Comparing version 0.0.0-next-20240307082121 to 0.0.0-next-20240307100534
@@ -52,3 +52,3 @@ /* | ||
: Object.keys(options.exposes).length > 0); | ||
const disableManifest = options.manifest === false; | ||
let disableManifest = options.manifest === false; | ||
if (useContainerPlugin) { | ||
@@ -59,5 +59,14 @@ // @ts-ignore | ||
if (!disableManifest && useContainerPlugin) { | ||
const containerManager = new managers_1.ContainerManager(); | ||
containerManager.init(options); | ||
options.exposes = containerManager.containerPluginExposesOptions; | ||
try { | ||
const containerManager = new managers_1.ContainerManager(); | ||
containerManager.init(options); | ||
options.exposes = containerManager.containerPluginExposesOptions; | ||
} | ||
catch (err) { | ||
if (err instanceof Error) { | ||
err.message = `[ ModuleFederationPlugin ]: Manifest will not generate, because: ${err.message}`; | ||
} | ||
console.warn(err); | ||
disableManifest = true; | ||
} | ||
} | ||
@@ -64,0 +73,0 @@ if (library && |
{ | ||
"name": "@module-federation/enhanced", | ||
"version": "0.0.0-next-20240307082121", | ||
"version": "0.0.0-next-20240307100534", | ||
"main": "./dist/src/index.js", | ||
@@ -31,11 +31,11 @@ "types": "./dist/src/index.d.ts", | ||
"devDependencies": { | ||
"@module-federation/webpack-bundler-runtime": "0.0.0-next-20240307082121" | ||
"@module-federation/webpack-bundler-runtime": "0.0.0-next-20240307100534" | ||
}, | ||
"dependencies": { | ||
"upath": "2.0.1", | ||
"@module-federation/sdk": "0.0.0-next-20240307082121", | ||
"@module-federation/runtime-tools": "0.0.0-next-20240307082121", | ||
"@module-federation/manifest": "0.0.0-next-20240307082121", | ||
"@module-federation/managers": "0.0.0-next-20240307082121" | ||
"@module-federation/sdk": "0.0.0-next-20240307100534", | ||
"@module-federation/runtime-tools": "0.0.0-next-20240307100534", | ||
"@module-federation/manifest": "0.0.0-next-20240307100534", | ||
"@module-federation/managers": "0.0.0-next-20240307100534" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
943148
16251
+ Added@module-federation/managers@0.0.0-next-20240307100534(transitive)
+ Added@module-federation/manifest@0.0.0-next-20240307100534(transitive)
+ Added@module-federation/runtime@0.0.0-next-20240307100534(transitive)
+ Added@module-federation/runtime-tools@0.0.0-next-20240307100534(transitive)
+ Added@module-federation/sdk@0.0.0-next-20240307100534(transitive)
+ Added@module-federation/webpack-bundler-runtime@0.0.0-next-20240307100534(transitive)
- Removed@module-federation/managers@0.0.0-next-20240307082121(transitive)
- Removed@module-federation/manifest@0.0.0-next-20240307082121(transitive)
- Removed@module-federation/runtime@0.0.0-next-20240307082121(transitive)
- Removed@module-federation/runtime-tools@0.0.0-next-20240307082121(transitive)
- Removed@module-federation/sdk@0.0.0-next-20240307082121(transitive)
- Removed@module-federation/webpack-bundler-runtime@0.0.0-next-20240307082121(transitive)
Updated@module-federation/managers@0.0.0-next-20240307100534
Updated@module-federation/manifest@0.0.0-next-20240307100534
Updated@module-federation/runtime-tools@0.0.0-next-20240307100534