@module-federation/sdk 0.16.0 → 0.17.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/index.cjs.cjs
CHANGED
|
@@ -39,19 +39,19 @@ const MFPrefetchCommon = {
|
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
var ContainerPlugin = /*#__PURE__*/Object.freeze({
|
|
42
|
-
|
|
42
|
+
__proto__: null
|
|
43
43
|
});
|
|
44
44
|
|
|
45
45
|
var ContainerReferencePlugin = /*#__PURE__*/Object.freeze({
|
|
46
|
-
|
|
46
|
+
__proto__: null
|
|
47
47
|
});
|
|
48
48
|
|
|
49
49
|
var ModuleFederationPlugin = /*#__PURE__*/Object.freeze({
|
|
50
|
-
|
|
50
|
+
__proto__: null
|
|
51
51
|
});
|
|
52
52
|
|
|
53
53
|
var SharePlugin = /*#__PURE__*/Object.freeze({
|
|
54
|
-
|
|
54
|
+
__proto__: null
|
|
55
55
|
});
|
|
56
56
|
|
|
57
57
|
function isBrowserEnv() {
|
package/dist/index.esm.js
CHANGED
|
@@ -37,19 +37,19 @@ const MFPrefetchCommon = {
|
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
var ContainerPlugin = /*#__PURE__*/Object.freeze({
|
|
40
|
-
|
|
40
|
+
__proto__: null
|
|
41
41
|
});
|
|
42
42
|
|
|
43
43
|
var ContainerReferencePlugin = /*#__PURE__*/Object.freeze({
|
|
44
|
-
|
|
44
|
+
__proto__: null
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
var ModuleFederationPlugin = /*#__PURE__*/Object.freeze({
|
|
48
|
-
|
|
48
|
+
__proto__: null
|
|
49
49
|
});
|
|
50
50
|
|
|
51
51
|
var SharePlugin = /*#__PURE__*/Object.freeze({
|
|
52
|
-
|
|
52
|
+
__proto__: null
|
|
53
53
|
});
|
|
54
54
|
|
|
55
55
|
function isBrowserEnv() {
|
package/dist/src/constant.d.ts
CHANGED
|
@@ -7,7 +7,9 @@ export declare const NameTransformSymbol: {
|
|
|
7
7
|
SLASH: string;
|
|
8
8
|
};
|
|
9
9
|
export declare const NameTransformMap: {
|
|
10
|
-
[
|
|
10
|
+
[NameTransformSymbol.AT]: string;
|
|
11
|
+
[NameTransformSymbol.HYPHEN]: string;
|
|
12
|
+
[NameTransformSymbol.SLASH]: string;
|
|
11
13
|
};
|
|
12
14
|
export declare const EncodedNameTransformMap: {
|
|
13
15
|
[x: string]: string;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ export * from './constant';
|
|
|
2
2
|
export * from './types';
|
|
3
3
|
export * from './utils';
|
|
4
4
|
export { generateSnapshotFromManifest, isManifestProvider, simpleJoinRemoteEntry, inferAutoPublicPath, } from './generateSnapshotFromManifest';
|
|
5
|
-
export
|
|
5
|
+
export { logger, createLogger } from './logger';
|
|
6
|
+
export type { Logger } from './logger';
|
|
6
7
|
export * from './env';
|
|
7
8
|
export * from './dom';
|
|
8
9
|
export * from './node';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "A sdk for support module federation",
|
|
@@ -25,25 +25,25 @@
|
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"main": "./dist/index.cjs.cjs",
|
|
27
27
|
"module": "./dist/index.esm.js",
|
|
28
|
-
"types": "./dist/index.
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
29
|
"exports": {
|
|
30
30
|
".": {
|
|
31
31
|
"import": {
|
|
32
|
-
"types": "./dist/index.
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
33
|
"default": "./dist/index.esm.js"
|
|
34
34
|
},
|
|
35
35
|
"require": {
|
|
36
|
-
"types": "./dist/index.
|
|
36
|
+
"types": "./dist/index.d.ts",
|
|
37
37
|
"default": "./dist/index.cjs.cjs"
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"./normalize-webpack-path": {
|
|
41
41
|
"import": {
|
|
42
|
-
"types": "./dist/normalize-webpack-path.
|
|
42
|
+
"types": "./dist/normalize-webpack-path.d.ts",
|
|
43
43
|
"default": "./dist/normalize-webpack-path.esm.js"
|
|
44
44
|
},
|
|
45
45
|
"require": {
|
|
46
|
-
"types": "./dist/normalize-webpack-path.
|
|
46
|
+
"types": "./dist/normalize-webpack-path.d.ts",
|
|
47
47
|
"default": "./dist/normalize-webpack-path.cjs.cjs"
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"typesVersions": {
|
|
52
52
|
"*": {
|
|
53
53
|
".": [
|
|
54
|
-
"./dist/index.
|
|
54
|
+
"./dist/index.d.ts"
|
|
55
55
|
],
|
|
56
56
|
"normalize-webpack-path": [
|
|
57
|
-
"./dist/normalize-webpack-path.
|
|
57
|
+
"./dist/normalize-webpack-path.d.ts"
|
|
58
58
|
]
|
|
59
59
|
}
|
|
60
60
|
}
|
|
File without changes
|
|
File without changes
|