@module-federation/managers 0.1.15 → 0.1.16
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 +3 -2
- package/dist/index.esm.js +3 -2
- package/dist/package.json +1 -1
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -1125,13 +1125,14 @@ var SharedManager = /*#__PURE__*/ function(BasicPluginOptionsManager) {
|
|
|
1125
1125
|
get: function get() {
|
|
1126
1126
|
var normalizedShared = this.normalizedOptions;
|
|
1127
1127
|
var shared = Object.keys(normalizedShared).reduce(function(sum, cur) {
|
|
1128
|
-
var _normalizedShared_cur = normalizedShared[cur], singleton = _normalizedShared_cur.singleton, requiredVersion = _normalizedShared_cur.requiredVersion, version = _normalizedShared_cur.version, eager = _normalizedShared_cur.eager, shareScope = _normalizedShared_cur.shareScope;
|
|
1128
|
+
var _normalizedShared_cur = normalizedShared[cur], singleton = _normalizedShared_cur.singleton, requiredVersion = _normalizedShared_cur.requiredVersion, version = _normalizedShared_cur.version, eager = _normalizedShared_cur.eager, shareScope = _normalizedShared_cur.shareScope, sharedImport = _normalizedShared_cur.import;
|
|
1129
1129
|
sum[cur] = {
|
|
1130
1130
|
singleton: singleton,
|
|
1131
1131
|
requiredVersion: requiredVersion,
|
|
1132
1132
|
version: version,
|
|
1133
1133
|
eager: eager,
|
|
1134
|
-
shareScope: shareScope
|
|
1134
|
+
shareScope: shareScope,
|
|
1135
|
+
import: sharedImport
|
|
1135
1136
|
};
|
|
1136
1137
|
return sum;
|
|
1137
1138
|
}, {});
|
package/dist/index.esm.js
CHANGED
|
@@ -1114,13 +1114,14 @@ var SharedManager = /*#__PURE__*/ function(BasicPluginOptionsManager) {
|
|
|
1114
1114
|
get: function get() {
|
|
1115
1115
|
var normalizedShared = this.normalizedOptions;
|
|
1116
1116
|
var shared = Object.keys(normalizedShared).reduce(function(sum, cur) {
|
|
1117
|
-
var _normalizedShared_cur = normalizedShared[cur], singleton = _normalizedShared_cur.singleton, requiredVersion = _normalizedShared_cur.requiredVersion, version = _normalizedShared_cur.version, eager = _normalizedShared_cur.eager, shareScope = _normalizedShared_cur.shareScope;
|
|
1117
|
+
var _normalizedShared_cur = normalizedShared[cur], singleton = _normalizedShared_cur.singleton, requiredVersion = _normalizedShared_cur.requiredVersion, version = _normalizedShared_cur.version, eager = _normalizedShared_cur.eager, shareScope = _normalizedShared_cur.shareScope, sharedImport = _normalizedShared_cur.import;
|
|
1118
1118
|
sum[cur] = {
|
|
1119
1119
|
singleton: singleton,
|
|
1120
1120
|
requiredVersion: requiredVersion,
|
|
1121
1121
|
version: version,
|
|
1122
1122
|
eager: eager,
|
|
1123
|
-
shareScope: shareScope
|
|
1123
|
+
shareScope: shareScope,
|
|
1124
|
+
import: sharedImport
|
|
1124
1125
|
};
|
|
1125
1126
|
return sum;
|
|
1126
1127
|
}, {});
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/managers",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Provide managers for helping handle mf data .",
|
|
6
6
|
"keywords": [
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"find-pkg": "2.0.0",
|
|
23
23
|
"fs-extra": "9.1.0",
|
|
24
|
-
"@module-federation/sdk": "0.1.
|
|
24
|
+
"@module-federation/sdk": "0.1.16"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"webpack": "5.76.0"
|