@module-federation/rspack 0.0.0-fix-filter-function-20260327073336 → 0.0.0-fix-valid-same-id-20260429034727
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.
|
@@ -233,7 +233,7 @@ class ModuleFederationPlugin {
|
|
|
233
233
|
});
|
|
234
234
|
if (!disableManifest) {
|
|
235
235
|
this._statsPlugin = new manifest_namespaceObject.StatsPlugin(options, {
|
|
236
|
-
pluginVersion: "0.0.0-fix-
|
|
236
|
+
pluginVersion: "0.0.0-fix-valid-same-id-20260429034727",
|
|
237
237
|
bundler: 'rspack'
|
|
238
238
|
});
|
|
239
239
|
// @ts-ignore
|
|
@@ -177,7 +177,7 @@ class ModuleFederationPlugin {
|
|
|
177
177
|
});
|
|
178
178
|
if (!disableManifest) {
|
|
179
179
|
this._statsPlugin = new StatsPlugin(options, {
|
|
180
|
-
pluginVersion: "0.0.0-fix-
|
|
180
|
+
pluginVersion: "0.0.0-fix-valid-same-id-20260429034727",
|
|
181
181
|
bundler: 'rspack'
|
|
182
182
|
});
|
|
183
183
|
// @ts-ignore
|
|
@@ -56,9 +56,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
56
56
|
RemoteEntryPlugin: () => (/* binding */ RemoteEntryPlugin)
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
;// CONCATENATED MODULE: external "btoa"
|
|
60
|
-
const external_btoa_namespaceObject = require("btoa");
|
|
61
|
-
var external_btoa_default = /*#__PURE__*/__webpack_require__.n(external_btoa_namespaceObject);
|
|
62
59
|
;// CONCATENATED MODULE: external "@module-federation/managers"
|
|
63
60
|
const managers_namespaceObject = require("@module-federation/managers");
|
|
64
61
|
;// CONCATENATED MODULE: external "./logger.js"
|
|
@@ -67,7 +64,6 @@ var external_logger_js_default = /*#__PURE__*/__webpack_require__.n(external_log
|
|
|
67
64
|
;// CONCATENATED MODULE: ./src/RemoteEntryPlugin.ts
|
|
68
65
|
|
|
69
66
|
|
|
70
|
-
|
|
71
67
|
// @ts-ignore
|
|
72
68
|
const charMap = {
|
|
73
69
|
'<': '\\u003C',
|
|
@@ -95,7 +91,7 @@ class RemoteEntryPlugin {
|
|
|
95
91
|
} else {
|
|
96
92
|
code = `(${sanitizedPublicPath}())`;
|
|
97
93
|
}
|
|
98
|
-
const base64Code =
|
|
94
|
+
const base64Code = Buffer.from(code, 'utf8').toString('base64');
|
|
99
95
|
const dataUrl = `data:text/javascript;base64,${base64Code}`;
|
|
100
96
|
compiler.hooks.afterPlugins.tap('VmokRemoteEntryPlugin', ()=>{
|
|
101
97
|
new compiler.webpack.EntryPlugin(compiler.context, dataUrl, {
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import btoa from "btoa";
|
|
2
1
|
import { ContainerManager } from "@module-federation/managers";
|
|
3
2
|
import logger from "./logger.mjs";
|
|
4
3
|
|
|
5
|
-
;// CONCATENATED MODULE: external "btoa"
|
|
6
|
-
|
|
7
4
|
;// CONCATENATED MODULE: external "@module-federation/managers"
|
|
8
5
|
|
|
9
6
|
;// CONCATENATED MODULE: external "./logger.mjs"
|
|
@@ -11,7 +8,6 @@ import logger from "./logger.mjs";
|
|
|
11
8
|
;// CONCATENATED MODULE: ./src/RemoteEntryPlugin.ts
|
|
12
9
|
|
|
13
10
|
|
|
14
|
-
|
|
15
11
|
// @ts-ignore
|
|
16
12
|
const charMap = {
|
|
17
13
|
'<': '\\u003C',
|
|
@@ -39,7 +35,7 @@ class RemoteEntryPlugin {
|
|
|
39
35
|
} else {
|
|
40
36
|
code = `(${sanitizedPublicPath}())`;
|
|
41
37
|
}
|
|
42
|
-
const base64Code =
|
|
38
|
+
const base64Code = Buffer.from(code, 'utf8').toString('base64');
|
|
43
39
|
const dataUrl = `data:text/javascript;base64,${base64Code}`;
|
|
44
40
|
compiler.hooks.afterPlugins.tap('VmokRemoteEntryPlugin', ()=>{
|
|
45
41
|
new compiler.webpack.EntryPlugin(compiler.context, dataUrl, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/rspack",
|
|
3
|
-
"version": "0.0.0-fix-
|
|
3
|
+
"version": "0.0.0-fix-valid-same-id-20260429034727",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Module Federation",
|
|
@@ -24,14 +24,13 @@
|
|
|
24
24
|
"module": "./dist/index.mjs",
|
|
25
25
|
"types": "./dist/index.d.ts",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"
|
|
28
|
-
"@module-federation/
|
|
29
|
-
"@module-federation/
|
|
30
|
-
"@module-federation/
|
|
31
|
-
"@module-federation/
|
|
32
|
-
"@module-federation/inject-external-runtime-core-plugin": "0.0.0-fix-
|
|
33
|
-
"@module-federation/
|
|
34
|
-
"@module-federation/sdk": "0.0.0-fix-filter-function-20260327073336"
|
|
27
|
+
"@module-federation/bridge-react-webpack-plugin": "0.0.0-fix-valid-same-id-20260429034727",
|
|
28
|
+
"@module-federation/dts-plugin": "0.0.0-fix-valid-same-id-20260429034727",
|
|
29
|
+
"@module-federation/manifest": "0.0.0-fix-valid-same-id-20260429034727",
|
|
30
|
+
"@module-federation/managers": "0.0.0-fix-valid-same-id-20260429034727",
|
|
31
|
+
"@module-federation/sdk": "0.0.0-fix-valid-same-id-20260429034727",
|
|
32
|
+
"@module-federation/inject-external-runtime-core-plugin": "0.0.0-fix-valid-same-id-20260429034727",
|
|
33
|
+
"@module-federation/runtime-tools": "0.0.0-fix-valid-same-id-20260429034727"
|
|
35
34
|
},
|
|
36
35
|
"devDependencies": {
|
|
37
36
|
"@rspack/core": "^1.0.2"
|