webpack-federation-types-plugin 1.4.1 → 1.4.2
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/FederationTypesPlugin.js +4 -1
- package/package.json +1 -1
package/FederationTypesPlugin.js
CHANGED
|
@@ -70,7 +70,10 @@ class FederationTypesPlugin {
|
|
|
70
70
|
compiler.options.plugins && compiler.options.plugins.find((plugin) => plugin.constructor.name === "ModuleFederationPlugin")
|
|
71
71
|
if (!federationPlugin) throw new Error("No ModuleFederationPlugin found.")
|
|
72
72
|
|
|
73
|
-
const federationsOptions = merge(
|
|
73
|
+
const federationsOptions = merge(
|
|
74
|
+
federationPlugin._options ?? federationPlugin.userOptions ?? {},
|
|
75
|
+
this._options.federationConfig ?? {},
|
|
76
|
+
)
|
|
74
77
|
const logger = compiler.getInfrastructureLogger(PLUGIN_NAME)
|
|
75
78
|
|
|
76
79
|
const exposes = Object.fromEntries(
|
package/package.json
CHANGED