@module-federation/runtime 0.0.0-next-20240516090436 → 0.0.0-next-20240516123450
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 +1 -2
- package/dist/index.esm.js +1 -2
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -636,7 +636,6 @@ function snapshotPlugin() {
|
|
|
636
636
|
const { remote, pkgNameOrAlias, expose, origin, remoteInfo } = args;
|
|
637
637
|
if (!share.isRemoteInfoWithEntry(remote) || !share.isPureRemoteEntry(remote)) {
|
|
638
638
|
const { remoteSnapshot, globalSnapshot } = await origin.snapshotHandler.loadRemoteSnapshotInfo(remote);
|
|
639
|
-
debugger;
|
|
640
639
|
assignRemoteInfo(remoteInfo, remoteSnapshot);
|
|
641
640
|
// preloading assets
|
|
642
641
|
const preloadOptions = {
|
|
@@ -956,7 +955,7 @@ class SnapshotHandler {
|
|
|
956
955
|
// global snapshot includes manifest or module info includes manifest
|
|
957
956
|
if (globalRemoteSnapshot) {
|
|
958
957
|
if (sdk.isManifestProvider(globalRemoteSnapshot)) {
|
|
959
|
-
const remoteEntry = share.isBrowserEnv() ? globalRemoteSnapshot.remoteEntry : globalRemoteSnapshot.ssrRemoteEntry || '';
|
|
958
|
+
const remoteEntry = share.isBrowserEnv() ? globalRemoteSnapshot.remoteEntry : globalRemoteSnapshot.ssrRemoteEntry || globalRemoteSnapshot.remoteEntry || '';
|
|
960
959
|
const moduleSnapshot = await this.getManifestJson(remoteEntry, moduleInfo, {});
|
|
961
960
|
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
962
961
|
const globalSnapshotRes = share.setGlobalSnapshotInfoByModuleInfo(_extends$3({}, moduleInfo, {
|
package/dist/index.esm.js
CHANGED
|
@@ -634,7 +634,6 @@ function snapshotPlugin() {
|
|
|
634
634
|
const { remote, pkgNameOrAlias, expose, origin, remoteInfo } = args;
|
|
635
635
|
if (!isRemoteInfoWithEntry(remote) || !isPureRemoteEntry(remote)) {
|
|
636
636
|
const { remoteSnapshot, globalSnapshot } = await origin.snapshotHandler.loadRemoteSnapshotInfo(remote);
|
|
637
|
-
debugger;
|
|
638
637
|
assignRemoteInfo(remoteInfo, remoteSnapshot);
|
|
639
638
|
// preloading assets
|
|
640
639
|
const preloadOptions = {
|
|
@@ -954,7 +953,7 @@ class SnapshotHandler {
|
|
|
954
953
|
// global snapshot includes manifest or module info includes manifest
|
|
955
954
|
if (globalRemoteSnapshot) {
|
|
956
955
|
if (isManifestProvider(globalRemoteSnapshot)) {
|
|
957
|
-
const remoteEntry = isBrowserEnv() ? globalRemoteSnapshot.remoteEntry : globalRemoteSnapshot.ssrRemoteEntry || '';
|
|
956
|
+
const remoteEntry = isBrowserEnv() ? globalRemoteSnapshot.remoteEntry : globalRemoteSnapshot.ssrRemoteEntry || globalRemoteSnapshot.remoteEntry || '';
|
|
958
957
|
const moduleSnapshot = await this.getManifestJson(remoteEntry, moduleInfo, {});
|
|
959
958
|
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
960
959
|
const globalSnapshotRes = setGlobalSnapshotInfoByModuleInfo(_extends$3({}, moduleInfo, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/runtime",
|
|
3
|
-
"version": "0.0.0-next-
|
|
3
|
+
"version": "0.0.0-next-20240516123450",
|
|
4
4
|
"author": "zhouxiao <codingzx@gmail.com>",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@module-federation/sdk": "0.0.0-next-
|
|
48
|
+
"@module-federation/sdk": "0.0.0-next-20240516123450"
|
|
49
49
|
}
|
|
50
50
|
}
|