@module-federation/webpack-bundler-runtime 0.0.0-next-20240808030043 → 0.0.0-next-20240808083234
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 +5 -0
- package/dist/index.esm.js +5 -0
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -308,6 +308,11 @@ function initContainerEntry(options) {
|
|
|
308
308
|
webpackRequire.federation.attachShareScopeMap(webpackRequire);
|
|
309
309
|
}
|
|
310
310
|
// @ts-ignore
|
|
311
|
+
if (typeof webpackRequire.federation.prefetch === 'function') {
|
|
312
|
+
// @ts-ignore
|
|
313
|
+
webpackRequire.federation.prefetch();
|
|
314
|
+
}
|
|
315
|
+
// @ts-ignore
|
|
311
316
|
return webpackRequire.I(name, initScope);
|
|
312
317
|
}
|
|
313
318
|
|
package/dist/index.esm.js
CHANGED
|
@@ -286,6 +286,11 @@ function initContainerEntry(options) {
|
|
|
286
286
|
webpackRequire.federation.attachShareScopeMap(webpackRequire);
|
|
287
287
|
}
|
|
288
288
|
// @ts-ignore
|
|
289
|
+
if (typeof webpackRequire.federation.prefetch === 'function') {
|
|
290
|
+
// @ts-ignore
|
|
291
|
+
webpackRequire.federation.prefetch();
|
|
292
|
+
}
|
|
293
|
+
// @ts-ignore
|
|
289
294
|
return webpackRequire.I(name, initScope);
|
|
290
295
|
}
|
|
291
296
|
|
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-20240808083234",
|
|
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-20240808083234",
|
|
24
|
+
"@module-federation/sdk": "0.0.0-next-20240808083234"
|
|
25
25
|
},
|
|
26
26
|
"exports": {
|
|
27
27
|
".": {
|
|
@@ -49,6 +49,6 @@
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@module-federation/runtime": "0.0.0-next-
|
|
52
|
+
"@module-federation/runtime": "0.0.0-next-20240808083234"
|
|
53
53
|
}
|
|
54
54
|
}
|