@module-federation/managers 2.0.0 → 2.0.1
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/BasicPluginOptionsManager.js +70 -0
- package/dist/BasicPluginOptionsManager.mjs +24 -0
- package/dist/ContainerManager.js +228 -0
- package/dist/ContainerManager.mjs +168 -0
- package/dist/PKGJsonManager.js +113 -0
- package/dist/PKGJsonManager.mjs +51 -0
- package/dist/RemoteManager.js +160 -0
- package/dist/RemoteManager.mjs +112 -0
- package/dist/SharedManager.js +196 -0
- package/dist/SharedManager.mjs +136 -0
- package/dist/constant.js +54 -0
- package/dist/constant.mjs +6 -0
- package/dist/index.d.ts +8 -1
- package/dist/index.js +93 -0
- package/dist/index.mjs +36 -0
- package/dist/types.js +31 -0
- package/dist/types.mjs +4 -0
- package/dist/utils.js +119 -0
- package/dist/utils.mjs +66 -0
- package/package.json +13 -8
- package/dist/index.cjs.js +0 -499
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.esm.js +0 -490
- package/dist/index.esm.js.map +0 -1
- package/dist/src/index.d.ts +0 -8
- /package/dist/{src/BasicPluginOptionsManager.d.ts → BasicPluginOptionsManager.d.ts} +0 -0
- /package/dist/{src/ContainerManager.d.ts → ContainerManager.d.ts} +0 -0
- /package/dist/{src/PKGJsonManager.d.ts → PKGJsonManager.d.ts} +0 -0
- /package/dist/{src/RemoteManager.d.ts → RemoteManager.d.ts} +0 -0
- /package/dist/{src/SharedManager.d.ts → SharedManager.d.ts} +0 -0
- /package/dist/{src/constant.d.ts → constant.d.ts} +0 -0
- /package/dist/{src/types.d.ts → types.d.ts} +0 -0
- /package/dist/{src/utils.d.ts → utils.d.ts} +0 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const __rslib_import_meta_url__ = /*#__PURE__*/ (function () {
|
|
3
|
+
return typeof document === 'undefined'
|
|
4
|
+
? new (require('url'.replace('', '')).URL)('file:' + __filename).href
|
|
5
|
+
: (document.currentScript && document.currentScript.src) ||
|
|
6
|
+
new URL('main.js', document.baseURI).href;
|
|
7
|
+
})();
|
|
8
|
+
;
|
|
9
|
+
// The require scope
|
|
10
|
+
var __webpack_require__ = {};
|
|
11
|
+
|
|
12
|
+
/************************************************************************/
|
|
13
|
+
// webpack/runtime/define_property_getters
|
|
14
|
+
(() => {
|
|
15
|
+
__webpack_require__.d = (exports, definition) => {
|
|
16
|
+
for(var key in definition) {
|
|
17
|
+
if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
18
|
+
Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
})();
|
|
23
|
+
// webpack/runtime/has_own_property
|
|
24
|
+
(() => {
|
|
25
|
+
__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
26
|
+
})();
|
|
27
|
+
// webpack/runtime/make_namespace_object
|
|
28
|
+
(() => {
|
|
29
|
+
// define __esModule on exports
|
|
30
|
+
__webpack_require__.r = (exports) => {
|
|
31
|
+
if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
32
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
33
|
+
}
|
|
34
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
/************************************************************************/
|
|
38
|
+
var __webpack_exports__ = {};
|
|
39
|
+
// ESM COMPAT FLAG
|
|
40
|
+
__webpack_require__.r(__webpack_exports__);
|
|
41
|
+
|
|
42
|
+
// EXPORTS
|
|
43
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
44
|
+
UNKNOWN_MODULE_NAME: () => (/* reexport */ external_constant_js_namespaceObject.UNKNOWN_MODULE_NAME),
|
|
45
|
+
PKGJsonManager: () => (/* reexport */ external_PKGJsonManager_js_namespaceObject.PKGJsonManager),
|
|
46
|
+
types: () => (/* reexport */ external_types_js_namespaceObject),
|
|
47
|
+
SharedManager: () => (/* reexport */ external_SharedManager_js_namespaceObject.SharedManager),
|
|
48
|
+
ContainerManager: () => (/* reexport */ external_ContainerManager_js_namespaceObject.ContainerManager),
|
|
49
|
+
BasicPluginOptionsManager: () => (/* reexport */ external_BasicPluginOptionsManager_js_namespaceObject.BasicPluginOptionsManager),
|
|
50
|
+
utils: () => (/* reexport */ external_utils_js_namespaceObject),
|
|
51
|
+
RemoteManager: () => (/* reexport */ external_RemoteManager_js_namespaceObject.RemoteManager)
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
;// CONCATENATED MODULE: external "./BasicPluginOptionsManager.js"
|
|
55
|
+
const external_BasicPluginOptionsManager_js_namespaceObject = require("./BasicPluginOptionsManager.js");
|
|
56
|
+
;// CONCATENATED MODULE: external "./ContainerManager.js"
|
|
57
|
+
const external_ContainerManager_js_namespaceObject = require("./ContainerManager.js");
|
|
58
|
+
;// CONCATENATED MODULE: external "./PKGJsonManager.js"
|
|
59
|
+
const external_PKGJsonManager_js_namespaceObject = require("./PKGJsonManager.js");
|
|
60
|
+
;// CONCATENATED MODULE: external "./RemoteManager.js"
|
|
61
|
+
const external_RemoteManager_js_namespaceObject = require("./RemoteManager.js");
|
|
62
|
+
;// CONCATENATED MODULE: external "./SharedManager.js"
|
|
63
|
+
const external_SharedManager_js_namespaceObject = require("./SharedManager.js");
|
|
64
|
+
;// CONCATENATED MODULE: external "./constant.js"
|
|
65
|
+
const external_constant_js_namespaceObject = require("./constant.js");
|
|
66
|
+
;// CONCATENATED MODULE: external "./utils.js"
|
|
67
|
+
const external_utils_js_namespaceObject = require("./utils.js");
|
|
68
|
+
;// CONCATENATED MODULE: external "./types.js"
|
|
69
|
+
const external_types_js_namespaceObject = require("./types.js");
|
|
70
|
+
;// CONCATENATED MODULE: ./src/index.ts
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
exports.BasicPluginOptionsManager = __webpack_exports__.BasicPluginOptionsManager;
|
|
81
|
+
exports.ContainerManager = __webpack_exports__.ContainerManager;
|
|
82
|
+
exports.PKGJsonManager = __webpack_exports__.PKGJsonManager;
|
|
83
|
+
exports.RemoteManager = __webpack_exports__.RemoteManager;
|
|
84
|
+
exports.SharedManager = __webpack_exports__.SharedManager;
|
|
85
|
+
exports.UNKNOWN_MODULE_NAME = __webpack_exports__.UNKNOWN_MODULE_NAME;
|
|
86
|
+
exports.types = __webpack_exports__.types;
|
|
87
|
+
exports.utils = __webpack_exports__.utils;
|
|
88
|
+
for(var __webpack_i__ in __webpack_exports__) {
|
|
89
|
+
if(["BasicPluginOptionsManager","ContainerManager","PKGJsonManager","RemoteManager","SharedManager","UNKNOWN_MODULE_NAME","types","utils"].indexOf(__webpack_i__) === -1) {
|
|
90
|
+
exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { BasicPluginOptionsManager } from "./BasicPluginOptionsManager.mjs";
|
|
2
|
+
import { ContainerManager } from "./ContainerManager.mjs";
|
|
3
|
+
import { PKGJsonManager } from "./PKGJsonManager.mjs";
|
|
4
|
+
import { RemoteManager } from "./RemoteManager.mjs";
|
|
5
|
+
import { SharedManager } from "./SharedManager.mjs";
|
|
6
|
+
import { UNKNOWN_MODULE_NAME } from "./constant.mjs";
|
|
7
|
+
import * as __WEBPACK_EXTERNAL_MODULE__utils_mjs_25ece7d1__ from "./utils.mjs";
|
|
8
|
+
import * as __WEBPACK_EXTERNAL_MODULE__types_mjs_4ad50757__ from "./types.mjs";
|
|
9
|
+
|
|
10
|
+
;// CONCATENATED MODULE: external "./BasicPluginOptionsManager.mjs"
|
|
11
|
+
|
|
12
|
+
;// CONCATENATED MODULE: external "./ContainerManager.mjs"
|
|
13
|
+
|
|
14
|
+
;// CONCATENATED MODULE: external "./PKGJsonManager.mjs"
|
|
15
|
+
|
|
16
|
+
;// CONCATENATED MODULE: external "./RemoteManager.mjs"
|
|
17
|
+
|
|
18
|
+
;// CONCATENATED MODULE: external "./SharedManager.mjs"
|
|
19
|
+
|
|
20
|
+
;// CONCATENATED MODULE: external "./constant.mjs"
|
|
21
|
+
|
|
22
|
+
;// CONCATENATED MODULE: external "./utils.mjs"
|
|
23
|
+
|
|
24
|
+
;// CONCATENATED MODULE: external "./types.mjs"
|
|
25
|
+
|
|
26
|
+
;// CONCATENATED MODULE: ./src/index.ts
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
export { BasicPluginOptionsManager, ContainerManager, PKGJsonManager, RemoteManager, SharedManager, UNKNOWN_MODULE_NAME, __WEBPACK_EXTERNAL_MODULE__types_mjs_4ad50757__ as types, __WEBPACK_EXTERNAL_MODULE__utils_mjs_25ece7d1__ as utils };
|
package/dist/types.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const __rslib_import_meta_url__ = /*#__PURE__*/ (function () {
|
|
3
|
+
return typeof document === 'undefined'
|
|
4
|
+
? new (require('url'.replace('', '')).URL)('file:' + __filename).href
|
|
5
|
+
: (document.currentScript && document.currentScript.src) ||
|
|
6
|
+
new URL('main.js', document.baseURI).href;
|
|
7
|
+
})();
|
|
8
|
+
;
|
|
9
|
+
// The require scope
|
|
10
|
+
var __webpack_require__ = {};
|
|
11
|
+
|
|
12
|
+
/************************************************************************/
|
|
13
|
+
// webpack/runtime/make_namespace_object
|
|
14
|
+
(() => {
|
|
15
|
+
// define __esModule on exports
|
|
16
|
+
__webpack_require__.r = (exports) => {
|
|
17
|
+
if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
18
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
19
|
+
}
|
|
20
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
21
|
+
};
|
|
22
|
+
})();
|
|
23
|
+
/************************************************************************/
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
for(var __webpack_i__ in __webpack_exports__) {
|
|
29
|
+
exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
30
|
+
}
|
|
31
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
package/dist/types.mjs
ADDED
package/dist/utils.js
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const __rslib_import_meta_url__ = /*#__PURE__*/ (function () {
|
|
3
|
+
return typeof document === 'undefined'
|
|
4
|
+
? new (require('url'.replace('', '')).URL)('file:' + __filename).href
|
|
5
|
+
: (document.currentScript && document.currentScript.src) ||
|
|
6
|
+
new URL('main.js', document.baseURI).href;
|
|
7
|
+
})();
|
|
8
|
+
;
|
|
9
|
+
// The require scope
|
|
10
|
+
var __webpack_require__ = {};
|
|
11
|
+
|
|
12
|
+
/************************************************************************/
|
|
13
|
+
// webpack/runtime/define_property_getters
|
|
14
|
+
(() => {
|
|
15
|
+
__webpack_require__.d = (exports, definition) => {
|
|
16
|
+
for(var key in definition) {
|
|
17
|
+
if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
18
|
+
Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
})();
|
|
23
|
+
// webpack/runtime/has_own_property
|
|
24
|
+
(() => {
|
|
25
|
+
__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
26
|
+
})();
|
|
27
|
+
// webpack/runtime/make_namespace_object
|
|
28
|
+
(() => {
|
|
29
|
+
// define __esModule on exports
|
|
30
|
+
__webpack_require__.r = (exports) => {
|
|
31
|
+
if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
32
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
33
|
+
}
|
|
34
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
/************************************************************************/
|
|
38
|
+
var __webpack_exports__ = {};
|
|
39
|
+
// ESM COMPAT FLAG
|
|
40
|
+
__webpack_require__.r(__webpack_exports__);
|
|
41
|
+
|
|
42
|
+
// EXPORTS
|
|
43
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
44
|
+
getBuildVersion: () => (/* binding */ getBuildVersion),
|
|
45
|
+
getBuildName: () => (/* binding */ getBuildName),
|
|
46
|
+
parseOptions: () => (/* binding */ parseOptions)
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
;// CONCATENATED MODULE: external "./PKGJsonManager.js"
|
|
50
|
+
const external_PKGJsonManager_js_namespaceObject = require("./PKGJsonManager.js");
|
|
51
|
+
;// CONCATENATED MODULE: external "./constant.js"
|
|
52
|
+
const external_constant_js_namespaceObject = require("./constant.js");
|
|
53
|
+
;// CONCATENATED MODULE: ./src/utils.ts
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
function processFn(options, normalizeSimple, normalizeOptions, fn) {
|
|
57
|
+
const object = (obj)=>{
|
|
58
|
+
for (const [key, value] of Object.entries(obj)){
|
|
59
|
+
if (typeof value === 'string') {
|
|
60
|
+
fn(key, normalizeSimple(value, key));
|
|
61
|
+
} else {
|
|
62
|
+
fn(key, normalizeOptions(value, key));
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
const array = (items)=>{
|
|
67
|
+
for (const item of items){
|
|
68
|
+
if (typeof item === 'string') {
|
|
69
|
+
fn(item, normalizeSimple(item, item));
|
|
70
|
+
} else if (item && typeof item === 'object') {
|
|
71
|
+
object(item);
|
|
72
|
+
} else {
|
|
73
|
+
throw new Error('Unexpected options format');
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
if (!options) {
|
|
78
|
+
return;
|
|
79
|
+
} else if (Array.isArray(options)) {
|
|
80
|
+
array(options);
|
|
81
|
+
} else if (typeof options === 'object') {
|
|
82
|
+
object(options);
|
|
83
|
+
} else {
|
|
84
|
+
throw new Error('Unexpected options format');
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
function parseOptions(options, normalizeSimple, normalizeOptions) {
|
|
88
|
+
const items = [];
|
|
89
|
+
processFn(options, normalizeSimple, normalizeOptions, (key, value)=>{
|
|
90
|
+
items.push([
|
|
91
|
+
key,
|
|
92
|
+
value
|
|
93
|
+
]);
|
|
94
|
+
});
|
|
95
|
+
return items;
|
|
96
|
+
}
|
|
97
|
+
function getBuildVersion(root) {
|
|
98
|
+
if (process.env['MF_BUILD_VERSION']) {
|
|
99
|
+
return process.env['MF_BUILD_VERSION'];
|
|
100
|
+
}
|
|
101
|
+
const pkg = new external_PKGJsonManager_js_namespaceObject.PKGJsonManager().readPKGJson(root);
|
|
102
|
+
if ((pkg === null || pkg === void 0 ? void 0 : pkg['version']) && typeof pkg['version'] === 'string') {
|
|
103
|
+
return pkg['version'];
|
|
104
|
+
}
|
|
105
|
+
return external_constant_js_namespaceObject.LOCAL_BUILD_VERSION;
|
|
106
|
+
}
|
|
107
|
+
function getBuildName() {
|
|
108
|
+
return process.env['MF_BUILD_NAME'];
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
exports.getBuildName = __webpack_exports__.getBuildName;
|
|
112
|
+
exports.getBuildVersion = __webpack_exports__.getBuildVersion;
|
|
113
|
+
exports.parseOptions = __webpack_exports__.parseOptions;
|
|
114
|
+
for(var __webpack_i__ in __webpack_exports__) {
|
|
115
|
+
if(["getBuildName","getBuildVersion","parseOptions"].indexOf(__webpack_i__) === -1) {
|
|
116
|
+
exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
package/dist/utils.mjs
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { PKGJsonManager } from "./PKGJsonManager.mjs";
|
|
2
|
+
import { LOCAL_BUILD_VERSION } from "./constant.mjs";
|
|
3
|
+
|
|
4
|
+
;// CONCATENATED MODULE: external "./PKGJsonManager.mjs"
|
|
5
|
+
|
|
6
|
+
;// CONCATENATED MODULE: external "./constant.mjs"
|
|
7
|
+
|
|
8
|
+
;// CONCATENATED MODULE: ./src/utils.ts
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
function processFn(options, normalizeSimple, normalizeOptions, fn) {
|
|
12
|
+
const object = (obj)=>{
|
|
13
|
+
for (const [key, value] of Object.entries(obj)){
|
|
14
|
+
if (typeof value === 'string') {
|
|
15
|
+
fn(key, normalizeSimple(value, key));
|
|
16
|
+
} else {
|
|
17
|
+
fn(key, normalizeOptions(value, key));
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
const array = (items)=>{
|
|
22
|
+
for (const item of items){
|
|
23
|
+
if (typeof item === 'string') {
|
|
24
|
+
fn(item, normalizeSimple(item, item));
|
|
25
|
+
} else if (item && typeof item === 'object') {
|
|
26
|
+
object(item);
|
|
27
|
+
} else {
|
|
28
|
+
throw new Error('Unexpected options format');
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
if (!options) {
|
|
33
|
+
return;
|
|
34
|
+
} else if (Array.isArray(options)) {
|
|
35
|
+
array(options);
|
|
36
|
+
} else if (typeof options === 'object') {
|
|
37
|
+
object(options);
|
|
38
|
+
} else {
|
|
39
|
+
throw new Error('Unexpected options format');
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
function parseOptions(options, normalizeSimple, normalizeOptions) {
|
|
43
|
+
const items = [];
|
|
44
|
+
processFn(options, normalizeSimple, normalizeOptions, (key, value)=>{
|
|
45
|
+
items.push([
|
|
46
|
+
key,
|
|
47
|
+
value
|
|
48
|
+
]);
|
|
49
|
+
});
|
|
50
|
+
return items;
|
|
51
|
+
}
|
|
52
|
+
function getBuildVersion(root) {
|
|
53
|
+
if (process.env['MF_BUILD_VERSION']) {
|
|
54
|
+
return process.env['MF_BUILD_VERSION'];
|
|
55
|
+
}
|
|
56
|
+
const pkg = new PKGJsonManager().readPKGJson(root);
|
|
57
|
+
if ((pkg === null || pkg === void 0 ? void 0 : pkg['version']) && typeof pkg['version'] === 'string') {
|
|
58
|
+
return pkg['version'];
|
|
59
|
+
}
|
|
60
|
+
return LOCAL_BUILD_VERSION;
|
|
61
|
+
}
|
|
62
|
+
function getBuildName() {
|
|
63
|
+
return process.env['MF_BUILD_NAME'];
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export { getBuildName, getBuildVersion, parseOptions };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/managers",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Provide managers for helping handle mf data .",
|
|
6
6
|
"keywords": [
|
|
@@ -20,22 +20,27 @@
|
|
|
20
20
|
"directory": "packages/managers"
|
|
21
21
|
},
|
|
22
22
|
"sideEffects": false,
|
|
23
|
-
"main": "./dist/index.
|
|
24
|
-
"module": "./dist/index.
|
|
23
|
+
"main": "./dist/index.js",
|
|
24
|
+
"module": "./dist/index.mjs",
|
|
25
25
|
"types": "./dist/index.d.ts",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"find-pkg": "2.0.0",
|
|
28
28
|
"fs-extra": "9.1.0",
|
|
29
|
-
"@module-federation/sdk": "2.0.
|
|
29
|
+
"@module-federation/sdk": "2.0.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"webpack": "5.
|
|
32
|
+
"webpack": "5.104.1"
|
|
33
33
|
},
|
|
34
34
|
"exports": {
|
|
35
35
|
".": {
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
"import": {
|
|
37
|
+
"types": "./dist/index.d.ts",
|
|
38
|
+
"default": "./dist/index.mjs"
|
|
39
|
+
},
|
|
40
|
+
"require": {
|
|
41
|
+
"types": "./dist/index.d.ts",
|
|
42
|
+
"default": "./dist/index.js"
|
|
43
|
+
}
|
|
39
44
|
}
|
|
40
45
|
},
|
|
41
46
|
"typesVersions": {
|