@module-federation/webpack-bundler-runtime 0.0.0-next-20240105131424 → 0.0.0-next-20240105144747
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/dist/index.cjs.js +2 -1
- package/dist/index.esm.js +2 -1
- package/package.json +3 -3
package/dist/index.cjs.js
CHANGED
|
@@ -189,7 +189,8 @@ function initializeSharing(param) {
|
|
|
189
189
|
var module = webpackRequire(id);
|
|
190
190
|
if (!module) return;
|
|
191
191
|
var initFn = function(module) {
|
|
192
|
-
return module && module.init &&
|
|
192
|
+
return module && module.init && // @ts-ignore compat legacy mf shared behavior
|
|
193
|
+
module.init(webpackRequire.S[shareScopeName], initScope);
|
|
193
194
|
};
|
|
194
195
|
if (module.then) return promises.push(module.then(initFn, handleError));
|
|
195
196
|
var initResult = initFn(module);
|
package/dist/index.esm.js
CHANGED
|
@@ -167,7 +167,8 @@ function initializeSharing(param) {
|
|
|
167
167
|
var module = webpackRequire(id);
|
|
168
168
|
if (!module) return;
|
|
169
169
|
var initFn = function(module) {
|
|
170
|
-
return module && module.init &&
|
|
170
|
+
return module && module.init && // @ts-ignore compat legacy mf shared behavior
|
|
171
|
+
module.init(webpackRequire.S[shareScopeName], initScope);
|
|
171
172
|
};
|
|
172
173
|
if (module.then) return promises.push(module.then(initFn, handleError));
|
|
173
174
|
var initResult = initFn(module);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"public": true,
|
|
3
3
|
"name": "@module-federation/webpack-bundler-runtime",
|
|
4
|
-
"version": "0.0.0-next-
|
|
4
|
+
"version": "0.0.0-next-20240105144747",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Module Federation Runtime for webpack",
|
|
7
7
|
"keywords": [
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"module": "./dist/index.esm.js",
|
|
21
21
|
"types": "./dist/index.cjs.d.ts",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@module-federation/runtime": "0.0.0-next-
|
|
24
|
-
"@module-federation/sdk": "0.0.0-next-
|
|
23
|
+
"@module-federation/runtime": "0.0.0-next-20240105144747",
|
|
24
|
+
"@module-federation/sdk": "0.0.0-next-20240105144747"
|
|
25
25
|
},
|
|
26
26
|
"exports": {
|
|
27
27
|
".": {
|