@module-federation/vite 1.16.3 → 1.16.5
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 +21 -8
- package/lib/{index.d.cts → index.d.ts} +9 -1
- package/lib/{index.mjs → index.js} +162 -71
- package/lib/{packageUtils-Bbc6r6__.mjs → packageUtils-CxYRnFwy.js} +16 -8
- package/lib/{pluginDts-DDx4TPN8.mjs → pluginDts-Bgdw5ODE.js} +2 -2
- package/lib/utils/{ssrEntryLoader.mjs → ssrEntryLoader.js} +3 -3
- package/package.json +13 -21
- package/lib/index.cjs +0 -5364
- package/lib/index.d.mts +0 -167
- package/lib/packageUtils-se-UDhCa.cjs +0 -367
- package/lib/pluginDts-7EoFboCu.cjs +0 -311
- package/lib/utils/ssrEntryLoader.cjs +0 -301
- package/lib/utils/ssrEntryLoader.d.cts +0 -65
- /package/lib/utils/{ssrEntryLoader.d.mts → ssrEntryLoader.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,30 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/vite",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.5",
|
|
4
4
|
"description": "Vite plugin for Module Federation",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./lib/index.
|
|
7
|
-
"module": "./lib/index.
|
|
8
|
-
"types": "./lib/index.d.
|
|
6
|
+
"main": "./lib/index.js",
|
|
7
|
+
"module": "./lib/index.js",
|
|
8
|
+
"types": "./lib/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"types":
|
|
12
|
-
|
|
13
|
-
"require": "./lib/index.d.cts"
|
|
14
|
-
},
|
|
15
|
-
"import": "./lib/index.mjs",
|
|
16
|
-
"require": "./lib/index.cjs"
|
|
11
|
+
"types": "./lib/index.d.ts",
|
|
12
|
+
"default": "./lib/index.js"
|
|
17
13
|
},
|
|
18
14
|
"./ssrEntryLoader": {
|
|
19
|
-
"types":
|
|
20
|
-
|
|
21
|
-
"require": "./lib/utils/ssrEntryLoader.d.cts"
|
|
22
|
-
},
|
|
23
|
-
"import": "./lib/utils/ssrEntryLoader.mjs",
|
|
24
|
-
"require": "./lib/utils/ssrEntryLoader.cjs"
|
|
15
|
+
"types": "./lib/utils/ssrEntryLoader.d.ts",
|
|
16
|
+
"default": "./lib/utils/ssrEntryLoader.js"
|
|
25
17
|
},
|
|
26
18
|
"./package.json": "./package.json"
|
|
27
19
|
},
|
|
20
|
+
"engines": {
|
|
21
|
+
"node": "^20.19.0 || >=22.12.0"
|
|
22
|
+
},
|
|
28
23
|
"files": [
|
|
29
24
|
"lib/**/*"
|
|
30
25
|
],
|
|
@@ -48,9 +43,7 @@
|
|
|
48
43
|
"multi-example": "pnpm clean && pnpm --filter 'multi-example-*' --parallel run start",
|
|
49
44
|
"test": "vitest run --dir src",
|
|
50
45
|
"test:integration": "vitest run integration",
|
|
51
|
-
"e2e": "playwright test"
|
|
52
|
-
"changeset": "changeset",
|
|
53
|
-
"changeset:status": "changeset status"
|
|
46
|
+
"e2e": "playwright test"
|
|
54
47
|
},
|
|
55
48
|
"repository": {
|
|
56
49
|
"type": "git",
|
|
@@ -80,12 +73,11 @@
|
|
|
80
73
|
"@module-federation/dts-plugin": "2.5.1",
|
|
81
74
|
"@module-federation/runtime": "2.5.1",
|
|
82
75
|
"@module-federation/sdk": "2.5.1",
|
|
83
|
-
"es-module-lexer": "2.
|
|
76
|
+
"es-module-lexer": "2.1.0",
|
|
84
77
|
"estree-walker": "3.0.3",
|
|
85
78
|
"pathe": "2.0.3"
|
|
86
79
|
},
|
|
87
80
|
"devDependencies": {
|
|
88
|
-
"@changesets/cli": "2.30.0",
|
|
89
81
|
"@playwright/test": "1.58.2",
|
|
90
82
|
"@types/node": "25.3.3",
|
|
91
83
|
"husky": "9.1.7",
|