@module-federation/bridge-react-webpack-plugin 0.0.0-next-20240816090839 → 0.0.0-next-20240818132231
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 +2 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/package.json +2 -2
- package/src/utis.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# @module-federation/bridge-react-webpack-plugin
|
|
2
2
|
|
|
3
|
-
## 0.0.0-next-
|
|
3
|
+
## 0.0.0-next-20240818132231
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- 49d6135: feat(@module-federation/bridge): enhance Bridge capabilities and fix some issues
|
|
8
8
|
- a3fbb2a: feat: enchance react-bridge react-router-dom alias according to origin react-router-dom version
|
|
9
9
|
- Updated dependencies [8378a77]
|
|
10
|
-
- @module-federation/sdk@0.0.0-next-
|
|
10
|
+
- @module-federation/sdk@0.0.0-next-20240818132231
|
|
11
11
|
|
|
12
12
|
## 0.4.0
|
|
13
13
|
|
package/dist/index.cjs.js
CHANGED
|
@@ -1679,7 +1679,7 @@ const getBridgeRouterAlias = (originalAlias) => {
|
|
|
1679
1679
|
} catch (error) {
|
|
1680
1680
|
bridgeRouterAlias = {
|
|
1681
1681
|
...bridgeRouterAlias,
|
|
1682
|
-
"react-router-dom/index.js": reactRouterDomPath
|
|
1682
|
+
"react-router-dom/dist/index.js": reactRouterDomPath
|
|
1683
1683
|
};
|
|
1684
1684
|
}
|
|
1685
1685
|
} else {
|
package/dist/index.es.js
CHANGED
|
@@ -1657,7 +1657,7 @@ const getBridgeRouterAlias = (originalAlias) => {
|
|
|
1657
1657
|
} catch (error) {
|
|
1658
1658
|
bridgeRouterAlias = {
|
|
1659
1659
|
...bridgeRouterAlias,
|
|
1660
|
-
"react-router-dom/index.js": reactRouterDomPath
|
|
1660
|
+
"react-router-dom/dist/index.js": reactRouterDomPath
|
|
1661
1661
|
};
|
|
1662
1662
|
}
|
|
1663
1663
|
} else {
|
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-
|
|
3
|
+
"version": "0.0.0-next-20240818132231",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"semver": "7.6.3",
|
|
21
21
|
"@types/semver": "7.5.8",
|
|
22
|
-
"@module-federation/sdk": "0.0.0-next-
|
|
22
|
+
"@module-federation/sdk": "0.0.0-next-20240818132231"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"typescript": "^5.2.2",
|
package/src/utis.ts
CHANGED
|
@@ -76,7 +76,7 @@ export const getBridgeRouterAlias = (
|
|
|
76
76
|
// if react-router-dom/dist/index.js cannot be resolved, set the alias to origin reactRouterDomPath
|
|
77
77
|
bridgeRouterAlias = {
|
|
78
78
|
...bridgeRouterAlias,
|
|
79
|
-
'react-router-dom/index.js': reactRouterDomPath,
|
|
79
|
+
'react-router-dom/dist/index.js': reactRouterDomPath,
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
82
|
} else {
|