@module-federation/inject-external-runtime-core-plugin 2.0.1 → 2.2.0

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/README.md CHANGED
@@ -1,7 +1,7 @@
1
- # `@module-federation/inject-external-runtime-core-plugin`
1
+ # `@module-federation/inject-external-runtime-core-plugin`
2
2
 
3
- This runtime plugin will inject `@module-federation/runtime-core` .
3
+ This runtime plugin will inject `@module-federation/runtime-core` .
4
4
 
5
- And the plugin will be automatic applied when set `experiments.externalRuntime: 'provide'` by build plugin.
5
+ And the plugin will be automatic applied when set `experiments.externalRuntime: 'provide'` by build plugin.
6
6
 
7
7
  The provider can use host's runtime when set `experiments.externalRuntime: true`.
@@ -0,0 +1,29 @@
1
+ //#region \0rolldown/runtime.js
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
+ key = keys[i];
12
+ if (!__hasOwnProp.call(to, key) && key !== except) {
13
+ __defProp(to, key, {
14
+ get: ((k) => from[k]).bind(null, key),
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ }
19
+ }
20
+ return to;
21
+ };
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
23
+ value: mod,
24
+ enumerable: true
25
+ }) : target, mod));
26
+
27
+ //#endregion
28
+
29
+ exports.__toESM = __toESM;
package/dist/index.cjs ADDED
@@ -0,0 +1,32 @@
1
+ const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
2
+ let _module_federation_runtime_tools_runtime_core = require("@module-federation/runtime-tools/runtime-core");
3
+ _module_federation_runtime_tools_runtime_core = require_runtime.__toESM(_module_federation_runtime_tools_runtime_core);
4
+
5
+ //#region src/index.ts
6
+ const runtimeCore = _module_federation_runtime_tools_runtime_core.default ?? _module_federation_runtime_tools_runtime_core;
7
+ function injectExternalRuntimeCorePlugin() {
8
+ return {
9
+ name: "inject-external-runtime-core-plugin",
10
+ version: "2.2.0",
11
+ beforeInit(args) {
12
+ const globalRef = runtimeCore.Global;
13
+ if (!globalRef || typeof globalRef !== "object") return args;
14
+ const name = args.options.name;
15
+ const version = "2.2.0";
16
+ if (globalRef._FEDERATION_RUNTIME_CORE && globalRef._FEDERATION_RUNTIME_CORE_FROM && (globalRef._FEDERATION_RUNTIME_CORE_FROM.name !== name || globalRef._FEDERATION_RUNTIME_CORE_FROM.version !== version)) {
17
+ console.warn(`Detect multiple module federation runtime! Injected runtime from ${globalRef._FEDERATION_RUNTIME_CORE_FROM.name}@${globalRef._FEDERATION_RUNTIME_CORE_FROM.version} and current is ${name}@${version}, pleasure ensure there is only one consumer to provider runtime!`);
18
+ return args;
19
+ }
20
+ globalRef._FEDERATION_RUNTIME_CORE = runtimeCore;
21
+ globalRef._FEDERATION_RUNTIME_CORE_FROM = {
22
+ version,
23
+ name
24
+ };
25
+ return args;
26
+ }
27
+ };
28
+ }
29
+
30
+ //#endregion
31
+ module.exports = injectExternalRuntimeCorePlugin;
32
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","names":["runtimeCoreDefault","runtimeCoreNamespace"],"sources":["../src/index.ts"],"sourcesContent":["import runtimeCoreDefault, * as runtimeCoreNamespace from '@module-federation/runtime-tools/runtime-core';\n\nimport type { ModuleFederationRuntimePlugin } from '@module-federation/runtime-tools/runtime-core';\nconst runtimeCore =\n (runtimeCoreDefault as typeof runtimeCoreNamespace | undefined) ??\n runtimeCoreNamespace;\ndeclare global {\n var __VERSION__: string;\n var _FEDERATION_RUNTIME_CORE: typeof runtimeCore;\n var _FEDERATION_RUNTIME_CORE_FROM: {\n version: string;\n name: string;\n };\n}\n\nfunction injectExternalRuntimeCorePlugin(): ModuleFederationRuntimePlugin {\n return {\n name: 'inject-external-runtime-core-plugin',\n version: __VERSION__,\n beforeInit(args) {\n const globalRef = (\n runtimeCore as typeof runtimeCore & {\n Global?: typeof runtimeCore.Global;\n }\n ).Global;\n if (!globalRef || typeof globalRef !== 'object') {\n return args;\n }\n const name = args.options.name;\n const version = __VERSION__;\n if (\n globalRef._FEDERATION_RUNTIME_CORE &&\n globalRef._FEDERATION_RUNTIME_CORE_FROM &&\n (globalRef._FEDERATION_RUNTIME_CORE_FROM.name !== name ||\n globalRef._FEDERATION_RUNTIME_CORE_FROM.version !== version)\n ) {\n console.warn(\n `Detect multiple module federation runtime! Injected runtime from ${globalRef._FEDERATION_RUNTIME_CORE_FROM.name}@${globalRef._FEDERATION_RUNTIME_CORE_FROM.version} and current is ${name}@${version}, pleasure ensure there is only one consumer to provider runtime!`,\n );\n return args;\n }\n globalRef._FEDERATION_RUNTIME_CORE = runtimeCore;\n globalRef._FEDERATION_RUNTIME_CORE_FROM = {\n version,\n name,\n };\n return args;\n },\n };\n}\n\nexport default injectExternalRuntimeCorePlugin;\n"],"mappings":";;;;;AAGA,MAAM,cACHA,yDACDC;AAUF,SAAS,kCAAiE;AACxE,QAAO;EACL,MAAM;EACN;EACA,WAAW,MAAM;GACf,MAAM,YACJ,YAGA;AACF,OAAI,CAAC,aAAa,OAAO,cAAc,SACrC,QAAO;GAET,MAAM,OAAO,KAAK,QAAQ;GAC1B,MAAM;AACN,OACE,UAAU,4BACV,UAAU,kCACT,UAAU,8BAA8B,SAAS,QAChD,UAAU,8BAA8B,YAAY,UACtD;AACA,YAAQ,KACN,oEAAoE,UAAU,8BAA8B,KAAK,GAAG,UAAU,8BAA8B,QAAQ,kBAAkB,KAAK,GAAG,QAAQ,mEACvM;AACD,WAAO;;AAET,aAAU,2BAA2B;AACrC,aAAU,gCAAgC;IACxC;IACA;IACD;AACD,UAAO;;EAEV"}
package/dist/index.d.ts CHANGED
@@ -1,2 +1,15 @@
1
- export * from "./src/index";
2
- export { default } from "./src/index";
1
+ import runtimeCoreDefault, { ModuleFederationRuntimePlugin } from "@module-federation/runtime-tools/runtime-core";
2
+
3
+ //#region src/index.d.ts
4
+ declare const runtimeCore: typeof runtimeCoreDefault;
5
+ declare global {
6
+ var __VERSION__: string;
7
+ var _FEDERATION_RUNTIME_CORE: typeof runtimeCore;
8
+ var _FEDERATION_RUNTIME_CORE_FROM: {
9
+ version: string;
10
+ name: string;
11
+ };
12
+ }
13
+ declare function injectExternalRuntimeCorePlugin(): ModuleFederationRuntimePlugin;
14
+ export = injectExternalRuntimeCorePlugin;
15
+ //# sourceMappingURL=index.d.ts.map
package/dist/index.js ADDED
@@ -0,0 +1,31 @@
1
+ import * as runtimeCoreNamespace from "@module-federation/runtime-tools/runtime-core";
2
+ import runtimeCoreDefault from "@module-federation/runtime-tools/runtime-core";
3
+
4
+ //#region src/index.ts
5
+ const runtimeCore = runtimeCoreDefault ?? runtimeCoreNamespace;
6
+ function injectExternalRuntimeCorePlugin() {
7
+ return {
8
+ name: "inject-external-runtime-core-plugin",
9
+ version: "2.2.0",
10
+ beforeInit(args) {
11
+ const globalRef = runtimeCore.Global;
12
+ if (!globalRef || typeof globalRef !== "object") return args;
13
+ const name = args.options.name;
14
+ const version = "2.2.0";
15
+ if (globalRef._FEDERATION_RUNTIME_CORE && globalRef._FEDERATION_RUNTIME_CORE_FROM && (globalRef._FEDERATION_RUNTIME_CORE_FROM.name !== name || globalRef._FEDERATION_RUNTIME_CORE_FROM.version !== version)) {
16
+ console.warn(`Detect multiple module federation runtime! Injected runtime from ${globalRef._FEDERATION_RUNTIME_CORE_FROM.name}@${globalRef._FEDERATION_RUNTIME_CORE_FROM.version} and current is ${name}@${version}, pleasure ensure there is only one consumer to provider runtime!`);
17
+ return args;
18
+ }
19
+ globalRef._FEDERATION_RUNTIME_CORE = runtimeCore;
20
+ globalRef._FEDERATION_RUNTIME_CORE_FROM = {
21
+ version,
22
+ name
23
+ };
24
+ return args;
25
+ }
26
+ };
27
+ }
28
+
29
+ //#endregion
30
+ export { injectExternalRuntimeCorePlugin as default };
31
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import runtimeCoreDefault, * as runtimeCoreNamespace from '@module-federation/runtime-tools/runtime-core';\n\nimport type { ModuleFederationRuntimePlugin } from '@module-federation/runtime-tools/runtime-core';\nconst runtimeCore =\n (runtimeCoreDefault as typeof runtimeCoreNamespace | undefined) ??\n runtimeCoreNamespace;\ndeclare global {\n var __VERSION__: string;\n var _FEDERATION_RUNTIME_CORE: typeof runtimeCore;\n var _FEDERATION_RUNTIME_CORE_FROM: {\n version: string;\n name: string;\n };\n}\n\nfunction injectExternalRuntimeCorePlugin(): ModuleFederationRuntimePlugin {\n return {\n name: 'inject-external-runtime-core-plugin',\n version: __VERSION__,\n beforeInit(args) {\n const globalRef = (\n runtimeCore as typeof runtimeCore & {\n Global?: typeof runtimeCore.Global;\n }\n ).Global;\n if (!globalRef || typeof globalRef !== 'object') {\n return args;\n }\n const name = args.options.name;\n const version = __VERSION__;\n if (\n globalRef._FEDERATION_RUNTIME_CORE &&\n globalRef._FEDERATION_RUNTIME_CORE_FROM &&\n (globalRef._FEDERATION_RUNTIME_CORE_FROM.name !== name ||\n globalRef._FEDERATION_RUNTIME_CORE_FROM.version !== version)\n ) {\n console.warn(\n `Detect multiple module federation runtime! Injected runtime from ${globalRef._FEDERATION_RUNTIME_CORE_FROM.name}@${globalRef._FEDERATION_RUNTIME_CORE_FROM.version} and current is ${name}@${version}, pleasure ensure there is only one consumer to provider runtime!`,\n );\n return args;\n }\n globalRef._FEDERATION_RUNTIME_CORE = runtimeCore;\n globalRef._FEDERATION_RUNTIME_CORE_FROM = {\n version,\n name,\n };\n return args;\n },\n };\n}\n\nexport default injectExternalRuntimeCorePlugin;\n"],"mappings":";;;;AAGA,MAAM,cACH,sBACD;AAUF,SAAS,kCAAiE;AACxE,QAAO;EACL,MAAM;EACN;EACA,WAAW,MAAM;GACf,MAAM,YACJ,YAGA;AACF,OAAI,CAAC,aAAa,OAAO,cAAc,SACrC,QAAO;GAET,MAAM,OAAO,KAAK,QAAQ;GAC1B,MAAM;AACN,OACE,UAAU,4BACV,UAAU,kCACT,UAAU,8BAA8B,SAAS,QAChD,UAAU,8BAA8B,YAAY,UACtD;AACA,YAAQ,KACN,oEAAoE,UAAU,8BAA8B,KAAK,GAAG,UAAU,8BAA8B,QAAQ,kBAAkB,KAAK,GAAG,QAAQ,mEACvM;AACD,WAAO;;AAET,aAAU,2BAA2B;AACrC,aAAU,gCAAgC;IACxC;IACA;IACD;AACD,UAAO;;EAEV"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/inject-external-runtime-core-plugin",
3
- "version": "2.0.1",
3
+ "version": "2.2.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "A sdk for support module federation",
@@ -22,27 +22,37 @@
22
22
  },
23
23
  "author": "zhanghang <hanric.zhang@gmail.com>",
24
24
  "sideEffects": false,
25
- "main": "./dist/index.cjs.cjs",
26
- "module": "./dist/index.esm.js",
27
- "types": "./dist/index.cjs.d.ts",
25
+ "main": "./dist/index.cjs",
26
+ "module": "./dist/index.js",
27
+ "types": "./dist/index.d.ts",
28
28
  "exports": {
29
29
  ".": {
30
- "types": "./dist/index.cjs.d.ts",
31
- "import": "./dist/index.esm.js",
32
- "require": "./dist/index.cjs.cjs"
30
+ "import": {
31
+ "types": "./dist/index.d.ts",
32
+ "default": "./dist/index.js"
33
+ },
34
+ "require": {
35
+ "types": "./dist/index.d.ts",
36
+ "default": "./dist/index.cjs"
37
+ }
33
38
  }
34
39
  },
35
40
  "typesVersions": {
36
41
  "*": {
37
42
  ".": [
38
- "./dist/index.cjs.d.ts"
43
+ "./dist/index.d.ts"
39
44
  ]
40
45
  }
41
46
  },
42
47
  "peerDependencies": {
43
- "@module-federation/runtime-tools": "2.0.1"
48
+ "@module-federation/runtime-tools": "2.2.0"
44
49
  },
45
50
  "devDependencies": {
46
- "@module-federation/runtime-tools": "2.0.1"
51
+ "@module-federation/runtime-tools": "2.2.0"
52
+ },
53
+ "scripts": {
54
+ "build": "tsdown --config tsdown.config.ts --filter inject-external-runtime-core-plugin-build",
55
+ "lint": "ESLINT_USE_FLAT_CONFIG=false pnpm exec eslint --ignore-pattern node_modules \"**/*.ts\" \"package.json\"",
56
+ "pre-release": "pnpm run build"
47
57
  }
48
58
  }
@@ -1,49 +0,0 @@
1
- 'use strict';
2
-
3
- var runtimeCoreDefault = require('@module-federation/runtime-tools/runtime-core');
4
-
5
- function _interopNamespaceDefault(e) {
6
- var n = Object.create(null);
7
- if (e) {
8
- for (var k in e) {
9
- n[k] = e[k];
10
- }
11
- }
12
- n.default = e;
13
- return Object.freeze(n);
14
- }
15
-
16
- var runtimeCoreDefault__namespace = /*#__PURE__*/_interopNamespaceDefault(runtimeCoreDefault);
17
-
18
- const runtimeCore = runtimeCoreDefault ??
19
- runtimeCoreDefault__namespace;
20
- function injectExternalRuntimeCorePlugin() {
21
- return {
22
- name: 'inject-external-runtime-core-plugin',
23
- version: "2.0.1",
24
- beforeInit(args) {
25
- const globalRef = runtimeCore.Global;
26
- if (!globalRef || typeof globalRef !== 'object') {
27
- return args;
28
- }
29
- const name = args.options.name;
30
- const version = "2.0.1";
31
- if (globalRef._FEDERATION_RUNTIME_CORE &&
32
- globalRef._FEDERATION_RUNTIME_CORE_FROM &&
33
- (globalRef._FEDERATION_RUNTIME_CORE_FROM.name !== name ||
34
- globalRef._FEDERATION_RUNTIME_CORE_FROM.version !== version)) {
35
- console.warn(`Detect multiple module federation runtime! Injected runtime from ${globalRef._FEDERATION_RUNTIME_CORE_FROM.name}@${globalRef._FEDERATION_RUNTIME_CORE_FROM.version} and current is ${name}@${version}, pleasure ensure there is only one consumer to provider runtime!`);
36
- return args;
37
- }
38
- globalRef._FEDERATION_RUNTIME_CORE = runtimeCore;
39
- globalRef._FEDERATION_RUNTIME_CORE_FROM = {
40
- version,
41
- name,
42
- };
43
- return args;
44
- },
45
- };
46
- }
47
-
48
- module.exports = injectExternalRuntimeCorePlugin;
49
- //# sourceMappingURL=index.cjs.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.cjs","sources":["../../src/index.ts"],"sourcesContent":[null],"names":["runtimeCoreNamespace"],"mappings":";;;;;;;;;;;;;;;;;AAGA,MAAM,WAAW,GACd,kBAA8D;AAC/D,IAAAA,6BAAoB;AAUtB,SAAS,+BAA+B,GAAA;IACtC,OAAO;AACL,QAAA,IAAI,EAAE,qCAAqC;AAC3C,QAAA,OAAO,EAAE,OAAW;AACpB,QAAA,UAAU,CAAC,IAAI,EAAA;AACb,YAAA,MAAM,SAAS,GACb,WAGD,CAAC,MAAM;YACR,IAAI,CAAC,SAAS,IAAI,OAAO,SAAS,KAAK,QAAQ,EAAE;AAC/C,gBAAA,OAAO,IAAI;YACb;AACA,YAAA,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI;YAC9B,MAAM,OAAO,GAAG,OAAW;YAC3B,IACE,SAAS,CAAC,wBAAwB;AAClC,gBAAA,SAAS,CAAC,6BAA6B;AACvC,iBAAC,SAAS,CAAC,6BAA6B,CAAC,IAAI,KAAK,IAAI;oBACpD,SAAS,CAAC,6BAA6B,CAAC,OAAO,KAAK,OAAO,CAAC,EAC9D;gBACA,OAAO,CAAC,IAAI,CACV,CAAA,iEAAA,EAAoE,SAAS,CAAC,6BAA6B,CAAC,IAAI,CAAA,CAAA,EAAI,SAAS,CAAC,6BAA6B,CAAC,OAAO,CAAA,gBAAA,EAAmB,IAAI,CAAA,CAAA,EAAI,OAAO,CAAA,iEAAA,CAAmE,CACzQ;AACD,gBAAA,OAAO,IAAI;YACb;AACA,YAAA,SAAS,CAAC,wBAAwB,GAAG,WAAW;YAChD,SAAS,CAAC,6BAA6B,GAAG;gBACxC,OAAO;gBACP,IAAI;aACL;AACD,YAAA,OAAO,IAAI;QACb,CAAC;KACF;AACH;;;;"}
@@ -1,2 +0,0 @@
1
- export * from "./src/index";
2
- export { default } from "./src/index";
package/dist/index.esm.js DELETED
@@ -1,35 +0,0 @@
1
- import * as runtimeCoreDefault from '@module-federation/runtime-tools/runtime-core';
2
- import runtimeCoreDefault__default from '@module-federation/runtime-tools/runtime-core';
3
-
4
- const runtimeCore = runtimeCoreDefault__default ??
5
- runtimeCoreDefault;
6
- function injectExternalRuntimeCorePlugin() {
7
- return {
8
- name: 'inject-external-runtime-core-plugin',
9
- version: "2.0.1",
10
- beforeInit(args) {
11
- const globalRef = runtimeCore.Global;
12
- if (!globalRef || typeof globalRef !== 'object') {
13
- return args;
14
- }
15
- const name = args.options.name;
16
- const version = "2.0.1";
17
- if (globalRef._FEDERATION_RUNTIME_CORE &&
18
- globalRef._FEDERATION_RUNTIME_CORE_FROM &&
19
- (globalRef._FEDERATION_RUNTIME_CORE_FROM.name !== name ||
20
- globalRef._FEDERATION_RUNTIME_CORE_FROM.version !== version)) {
21
- console.warn(`Detect multiple module federation runtime! Injected runtime from ${globalRef._FEDERATION_RUNTIME_CORE_FROM.name}@${globalRef._FEDERATION_RUNTIME_CORE_FROM.version} and current is ${name}@${version}, pleasure ensure there is only one consumer to provider runtime!`);
22
- return args;
23
- }
24
- globalRef._FEDERATION_RUNTIME_CORE = runtimeCore;
25
- globalRef._FEDERATION_RUNTIME_CORE_FROM = {
26
- version,
27
- name,
28
- };
29
- return args;
30
- },
31
- };
32
- }
33
-
34
- export { injectExternalRuntimeCorePlugin as default };
35
- //# sourceMappingURL=index.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.esm.js","sources":["../../src/index.ts"],"sourcesContent":[null],"names":["runtimeCoreDefault","runtimeCoreNamespace"],"mappings":";;;AAGA,MAAM,WAAW,GACdA,2BAA8D;AAC/D,IAAAC,kBAAoB;AAUtB,SAAS,+BAA+B,GAAA;IACtC,OAAO;AACL,QAAA,IAAI,EAAE,qCAAqC;AAC3C,QAAA,OAAO,EAAE,OAAW;AACpB,QAAA,UAAU,CAAC,IAAI,EAAA;AACb,YAAA,MAAM,SAAS,GACb,WAGD,CAAC,MAAM;YACR,IAAI,CAAC,SAAS,IAAI,OAAO,SAAS,KAAK,QAAQ,EAAE;AAC/C,gBAAA,OAAO,IAAI;YACb;AACA,YAAA,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI;YAC9B,MAAM,OAAO,GAAG,OAAW;YAC3B,IACE,SAAS,CAAC,wBAAwB;AAClC,gBAAA,SAAS,CAAC,6BAA6B;AACvC,iBAAC,SAAS,CAAC,6BAA6B,CAAC,IAAI,KAAK,IAAI;oBACpD,SAAS,CAAC,6BAA6B,CAAC,OAAO,KAAK,OAAO,CAAC,EAC9D;gBACA,OAAO,CAAC,IAAI,CACV,CAAA,iEAAA,EAAoE,SAAS,CAAC,6BAA6B,CAAC,IAAI,CAAA,CAAA,EAAI,SAAS,CAAC,6BAA6B,CAAC,OAAO,CAAA,gBAAA,EAAmB,IAAI,CAAA,CAAA,EAAI,OAAO,CAAA,iEAAA,CAAmE,CACzQ;AACD,gBAAA,OAAO,IAAI;YACb;AACA,YAAA,SAAS,CAAC,wBAAwB,GAAG,WAAW;YAChD,SAAS,CAAC,6BAA6B,GAAG;gBACxC,OAAO;gBACP,IAAI;aACL;AACD,YAAA,OAAO,IAAI;QACb,CAAC;KACF;AACH;;;;"}
@@ -1,13 +0,0 @@
1
- import runtimeCoreDefault from '@module-federation/runtime-tools/runtime-core';
2
- import type { ModuleFederationRuntimePlugin } from '@module-federation/runtime-tools/runtime-core';
3
- declare const runtimeCore: typeof runtimeCoreDefault;
4
- declare global {
5
- var __VERSION__: string;
6
- var _FEDERATION_RUNTIME_CORE: typeof runtimeCore;
7
- var _FEDERATION_RUNTIME_CORE_FROM: {
8
- version: string;
9
- name: string;
10
- };
11
- }
12
- declare function injectExternalRuntimeCorePlugin(): ModuleFederationRuntimePlugin;
13
- export default injectExternalRuntimeCorePlugin;