@module-federation/manifest 0.0.0-next-20240603071955 → 0.0.0-next-20240603101010
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 +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -1457,6 +1457,7 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1457
1457
|
key: "_getMetaData",
|
|
1458
1458
|
value: function _getMetaData(compiler, compilation, extraOptions) {
|
|
1459
1459
|
var _this = this;
|
|
1460
|
+
var _this__options_library, _this__options;
|
|
1460
1461
|
var context = compiler.options.context;
|
|
1461
1462
|
var _this1 = this, name = _this1._options.name, buildInfo = _this1.buildInfo;
|
|
1462
1463
|
var type = this._pkgJsonManager.getExposeGarfishModuleType(context || process.cwd());
|
|
@@ -1487,7 +1488,7 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1487
1488
|
name: getRemoteEntryName(),
|
|
1488
1489
|
path: '',
|
|
1489
1490
|
// same as the types supported by runtime, currently only global/var/script is supported
|
|
1490
|
-
type: 'global'
|
|
1491
|
+
type: ((_this__options = this._options) === null || _this__options === void 0 ? void 0 : (_this__options_library = _this__options.library) === null || _this__options_library === void 0 ? void 0 : _this__options_library.type) || 'global'
|
|
1491
1492
|
},
|
|
1492
1493
|
types: getTypesMetaInfo(this._options, compiler.context),
|
|
1493
1494
|
globalName: globalName,
|
package/dist/index.esm.js
CHANGED
|
@@ -1448,6 +1448,7 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1448
1448
|
key: "_getMetaData",
|
|
1449
1449
|
value: function _getMetaData(compiler, compilation, extraOptions) {
|
|
1450
1450
|
var _this = this;
|
|
1451
|
+
var _this__options_library, _this__options;
|
|
1451
1452
|
var context = compiler.options.context;
|
|
1452
1453
|
var _this1 = this, name = _this1._options.name, buildInfo = _this1.buildInfo;
|
|
1453
1454
|
var type = this._pkgJsonManager.getExposeGarfishModuleType(context || process.cwd());
|
|
@@ -1478,7 +1479,7 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1478
1479
|
name: getRemoteEntryName(),
|
|
1479
1480
|
path: '',
|
|
1480
1481
|
// same as the types supported by runtime, currently only global/var/script is supported
|
|
1481
|
-
type: 'global'
|
|
1482
|
+
type: ((_this__options = this._options) === null || _this__options === void 0 ? void 0 : (_this__options_library = _this__options.library) === null || _this__options_library === void 0 ? void 0 : _this__options_library.type) || 'global'
|
|
1482
1483
|
},
|
|
1483
1484
|
types: getTypesMetaInfo(this._options, compiler.context),
|
|
1484
1485
|
globalName: globalName,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/manifest",
|
|
3
|
-
"version": "0.0.0-next-
|
|
3
|
+
"version": "0.0.0-next-20240603101010",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Provide manifest/stats for webpack/rspack MF project .",
|
|
6
6
|
"keywords": [
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"find-pkg": "2.0.0",
|
|
26
26
|
"chalk": "3.0.0",
|
|
27
|
-
"@module-federation/sdk": "0.0.0-next-
|
|
28
|
-
"@module-federation/dts-plugin": "0.0.0-next-
|
|
29
|
-
"@module-federation/managers": "0.0.0-next-
|
|
27
|
+
"@module-federation/sdk": "0.0.0-next-20240603101010",
|
|
28
|
+
"@module-federation/dts-plugin": "0.0.0-next-20240603101010",
|
|
29
|
+
"@module-federation/managers": "0.0.0-next-20240603101010"
|
|
30
30
|
},
|
|
31
31
|
"exports": {
|
|
32
32
|
".": {
|