webpack-federation-types-plugin 1.4.2 → 1.4.4

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.
@@ -71,7 +71,7 @@ class FederationTypesPlugin {
71
71
  if (!federationPlugin) throw new Error("No ModuleFederationPlugin found.")
72
72
 
73
73
  const federationsOptions = merge(
74
- federationPlugin._options ?? federationPlugin.userOptions ?? {},
74
+ federationPlugin.options ?? federationPlugin._options ?? federationPlugin.userOptions ?? {},
75
75
  this._options.federationConfig ?? {},
76
76
  )
77
77
  const logger = compiler.getInfrastructureLogger(PLUGIN_NAME)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "webpack-federation-types-plugin",
3
3
  "description": "This plugin adds type definitions for remote modules",
4
- "version": "1.4.2",
4
+ "version": "1.4.4",
5
5
  "main": "FederationTypesPlugin.js",
6
6
  "types": "types.d.ts",
7
7
  "scripts": {