@module-federation/modern-js 0.0.0-next-20250327053300 → 0.0.0-next-20250327061542
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.
|
@@ -39,7 +39,7 @@ const correctSsrPublicPathPlugin = () => ({
|
|
|
39
39
|
return args;
|
|
40
40
|
}
|
|
41
41
|
const ssrPath = snapshot.ssrRemoteEntry.split("/").slice(0, -1).join("/") + "/";
|
|
42
|
-
if (publicPath.endsWith(ssrPath)) {
|
|
42
|
+
if (!publicPath.endsWith(ssrPath)) {
|
|
43
43
|
__webpack_require__.p = publicPath + ssrPath;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -17,7 +17,7 @@ var correctSsrPublicPathPlugin = function() {
|
|
|
17
17
|
return args;
|
|
18
18
|
}
|
|
19
19
|
var ssrPath = snapshot.ssrRemoteEntry.split("/").slice(0, -1).join("/") + "/";
|
|
20
|
-
if (publicPath.endsWith(ssrPath)) {
|
|
20
|
+
if (!publicPath.endsWith(ssrPath)) {
|
|
21
21
|
__webpack_require__.p = publicPath + ssrPath;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -16,7 +16,7 @@ const correctSsrPublicPathPlugin = () => ({
|
|
|
16
16
|
return args;
|
|
17
17
|
}
|
|
18
18
|
const ssrPath = snapshot.ssrRemoteEntry.split("/").slice(0, -1).join("/") + "/";
|
|
19
|
-
if (publicPath.endsWith(ssrPath)) {
|
|
19
|
+
if (!publicPath.endsWith(ssrPath)) {
|
|
20
20
|
__webpack_require__.p = publicPath + ssrPath;
|
|
21
21
|
}
|
|
22
22
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/modern-js",
|
|
3
|
-
"version": "0.0.0-next-
|
|
3
|
+
"version": "0.0.0-next-20250327061542",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist/",
|
|
6
6
|
"types.d.ts",
|
|
@@ -97,11 +97,11 @@
|
|
|
97
97
|
"@swc/helpers": "0.5.13",
|
|
98
98
|
"node-fetch": "~3.3.0",
|
|
99
99
|
"react-error-boundary": "4.1.2",
|
|
100
|
-
"@module-federation/rsbuild-plugin": "0.0.0-next-
|
|
101
|
-
"@module-federation/enhanced": "0.0.0-next-
|
|
102
|
-
"@module-federation/node": "0.0.0-next-
|
|
103
|
-
"@module-federation/sdk": "0.0.0-next-
|
|
104
|
-
"@module-federation/cli": "0.0.0-next-
|
|
100
|
+
"@module-federation/rsbuild-plugin": "0.0.0-next-20250327061542",
|
|
101
|
+
"@module-federation/enhanced": "0.0.0-next-20250327061542",
|
|
102
|
+
"@module-federation/node": "0.0.0-next-20250327061542",
|
|
103
|
+
"@module-federation/sdk": "0.0.0-next-20250327061542",
|
|
104
|
+
"@module-federation/cli": "0.0.0-next-20250327061542"
|
|
105
105
|
},
|
|
106
106
|
"devDependencies": {
|
|
107
107
|
"@modern-js/app-tools": "2.65.1",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"@modern-js/module-tools": "2.65.1",
|
|
110
110
|
"@modern-js/runtime": "2.65.1",
|
|
111
111
|
"@modern-js/tsconfig": "2.65.1",
|
|
112
|
-
"@module-federation/manifest": "0.0.0-next-
|
|
112
|
+
"@module-federation/manifest": "0.0.0-next-20250327061542"
|
|
113
113
|
},
|
|
114
114
|
"peerDependencies": {
|
|
115
115
|
"react": ">=17",
|