@module-federation/manifest 0.1.17 → 0.1.18
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/dist/package.json +1 -1
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -1459,6 +1459,7 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1459
1459
|
key: "_getMetaData",
|
|
1460
1460
|
value: function _getMetaData(compiler, compilation, extraOptions) {
|
|
1461
1461
|
var _this = this;
|
|
1462
|
+
var _this__options_library, _this__options;
|
|
1462
1463
|
var context = compiler.options.context;
|
|
1463
1464
|
var _this1 = this, name = _this1._options.name, buildInfo = _this1.buildInfo;
|
|
1464
1465
|
var type = this._pkgJsonManager.getExposeGarfishModuleType(context || process.cwd());
|
|
@@ -1489,7 +1490,7 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1489
1490
|
name: getRemoteEntryName(),
|
|
1490
1491
|
path: '',
|
|
1491
1492
|
// same as the types supported by runtime, currently only global/var/script is supported
|
|
1492
|
-
type: 'global'
|
|
1493
|
+
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'
|
|
1493
1494
|
},
|
|
1494
1495
|
types: getTypesMetaInfo(this._options, compiler.context),
|
|
1495
1496
|
globalName: globalName,
|
package/dist/index.esm.js
CHANGED
|
@@ -1450,6 +1450,7 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1450
1450
|
key: "_getMetaData",
|
|
1451
1451
|
value: function _getMetaData(compiler, compilation, extraOptions) {
|
|
1452
1452
|
var _this = this;
|
|
1453
|
+
var _this__options_library, _this__options;
|
|
1453
1454
|
var context = compiler.options.context;
|
|
1454
1455
|
var _this1 = this, name = _this1._options.name, buildInfo = _this1.buildInfo;
|
|
1455
1456
|
var type = this._pkgJsonManager.getExposeGarfishModuleType(context || process.cwd());
|
|
@@ -1480,7 +1481,7 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1480
1481
|
name: getRemoteEntryName(),
|
|
1481
1482
|
path: '',
|
|
1482
1483
|
// same as the types supported by runtime, currently only global/var/script is supported
|
|
1483
|
-
type: 'global'
|
|
1484
|
+
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'
|
|
1484
1485
|
},
|
|
1485
1486
|
types: getTypesMetaInfo(this._options, compiler.context),
|
|
1486
1487
|
globalName: globalName,
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/manifest",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.18",
|
|
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.1.
|
|
28
|
-
"@module-federation/dts-plugin": "0.1.
|
|
29
|
-
"@module-federation/managers": "0.1.
|
|
27
|
+
"@module-federation/sdk": "0.1.18",
|
|
28
|
+
"@module-federation/dts-plugin": "0.1.18",
|
|
29
|
+
"@module-federation/managers": "0.1.18"
|
|
30
30
|
},
|
|
31
31
|
"exports": {
|
|
32
32
|
".": {
|