@module-federation/modern-js 0.0.0-next-20250219100104 → 0.0.0-next-20250219103339
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/cjs/cli/utils.js
CHANGED
|
@@ -234,7 +234,7 @@ function patchBundlerConfig(options) {
|
|
|
234
234
|
if (!chain.output.get("uniqueName")) {
|
|
235
235
|
chain.output.uniqueName(mfConfig.name);
|
|
236
236
|
}
|
|
237
|
-
const splitChunkConfig = chain.optimization.entries();
|
|
237
|
+
const splitChunkConfig = chain.optimization.splitChunks.entries();
|
|
238
238
|
if (!isServer) {
|
|
239
239
|
(0, import_utils.autoDeleteSplitChunkCacheGroups)(mfConfig, splitChunkConfig);
|
|
240
240
|
}
|
package/dist/esm/cli/utils.js
CHANGED
|
@@ -226,7 +226,7 @@ function patchBundlerConfig(options) {
|
|
|
226
226
|
if (!chain.output.get("uniqueName")) {
|
|
227
227
|
chain.output.uniqueName(mfConfig.name);
|
|
228
228
|
}
|
|
229
|
-
var splitChunkConfig = chain.optimization.entries();
|
|
229
|
+
var splitChunkConfig = chain.optimization.splitChunks.entries();
|
|
230
230
|
if (!isServer) {
|
|
231
231
|
autoDeleteSplitChunkCacheGroups(mfConfig, splitChunkConfig);
|
|
232
232
|
}
|
|
@@ -197,7 +197,7 @@ function patchBundlerConfig(options) {
|
|
|
197
197
|
if (!chain.output.get("uniqueName")) {
|
|
198
198
|
chain.output.uniqueName(mfConfig.name);
|
|
199
199
|
}
|
|
200
|
-
const splitChunkConfig = chain.optimization.entries();
|
|
200
|
+
const splitChunkConfig = chain.optimization.splitChunks.entries();
|
|
201
201
|
if (!isServer) {
|
|
202
202
|
autoDeleteSplitChunkCacheGroups(mfConfig, splitChunkConfig);
|
|
203
203
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/modern-js",
|
|
3
|
-
"version": "0.0.0-next-
|
|
3
|
+
"version": "0.0.0-next-20250219103339",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist/",
|
|
6
6
|
"types.d.ts",
|
|
@@ -89,10 +89,10 @@
|
|
|
89
89
|
"@swc/helpers": "0.5.13",
|
|
90
90
|
"node-fetch": "~3.3.0",
|
|
91
91
|
"react-error-boundary": "4.1.2",
|
|
92
|
-
"@module-federation/rsbuild-plugin": "0.0.0-next-
|
|
93
|
-
"@module-federation/enhanced": "0.0.0-next-
|
|
94
|
-
"@module-federation/node": "0.0.0-next-
|
|
95
|
-
"@module-federation/sdk": "0.0.0-next-
|
|
92
|
+
"@module-federation/rsbuild-plugin": "0.0.0-next-20250219103339",
|
|
93
|
+
"@module-federation/enhanced": "0.0.0-next-20250219103339",
|
|
94
|
+
"@module-federation/node": "0.0.0-next-20250219103339",
|
|
95
|
+
"@module-federation/sdk": "0.0.0-next-20250219103339"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"@modern-js/app-tools": "2.64.3",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"@modern-js/module-tools": "2.64.3",
|
|
101
101
|
"@modern-js/runtime": "2.64.3",
|
|
102
102
|
"@modern-js/tsconfig": "2.64.3",
|
|
103
|
-
"@module-federation/manifest": "0.0.0-next-
|
|
103
|
+
"@module-federation/manifest": "0.0.0-next-20250219103339"
|
|
104
104
|
},
|
|
105
105
|
"peerDependencies": {
|
|
106
106
|
"react": ">=17",
|