@module-federation/bridge-react-webpack-plugin 0.0.0-next-20240716034052 → 0.0.0-next-20240716093738

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/CHANGELOG.md CHANGED
@@ -1,10 +1,11 @@
1
1
  # @module-federation/bridge-react-webpack-plugin
2
2
 
3
- ## 0.0.0-next-20240716034052
3
+ ## 0.0.0-next-20240716093738
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - @module-federation/sdk@0.0.0-next-20240716034052
7
+ - Updated dependencies [00c0f5a]
8
+ - @module-federation/sdk@0.0.0-next-20240716093738
8
9
 
9
10
  ## 0.2.6
10
11
 
package/dist/index.cjs.js CHANGED
@@ -40,9 +40,8 @@ class ReactBridgeAliasChangerPlugin {
40
40
  const originalAlias = originalResolve.alias || {};
41
41
  const updatedAlias = { ...originalAlias, [this.alias]: targetFilePath };
42
42
  compiler.options.resolve = {
43
- // allow this config to be override
44
- alias: updatedAlias,
45
- ...originalResolve
43
+ ...originalResolve,
44
+ alias: updatedAlias
46
45
  };
47
46
  }
48
47
  });
package/dist/index.es.js CHANGED
@@ -39,9 +39,8 @@ class ReactBridgeAliasChangerPlugin {
39
39
  const originalAlias = originalResolve.alias || {};
40
40
  const updatedAlias = { ...originalAlias, [this.alias]: targetFilePath };
41
41
  compiler.options.resolve = {
42
- // allow this config to be override
43
- alias: updatedAlias,
44
- ...originalResolve
42
+ ...originalResolve,
43
+ alias: updatedAlias
45
44
  };
46
45
  }
47
46
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/bridge-react-webpack-plugin",
3
- "version": "0.0.0-next-20240716034052",
3
+ "version": "0.0.0-next-20240716093738",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -17,7 +17,7 @@
17
17
  "./*": "./*"
18
18
  },
19
19
  "dependencies": {
20
- "@module-federation/sdk": "0.0.0-next-20240716034052"
20
+ "@module-federation/sdk": "0.0.0-next-20240716093738"
21
21
  },
22
22
  "devDependencies": {
23
23
  "typescript": "^5.2.2",
package/src/index.ts CHANGED
@@ -44,9 +44,8 @@ class ReactBridgeAliasChangerPlugin {
44
44
 
45
45
  // Update the webpack configuration
46
46
  compiler.options.resolve = {
47
- // allow this config to be override
48
- alias: updatedAlias,
49
47
  ...originalResolve,
48
+ alias: updatedAlias,
50
49
  };
51
50
  }
52
51
  });