@module-federation/rsbuild-plugin 2.5.0 → 2.6.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/dist/cli/index.js +1 -2
- package/dist/cli/index.mjs +1 -2
- package/package.json +4 -4
package/dist/cli/index.js
CHANGED
|
@@ -381,8 +381,7 @@ const pluginModuleFederation = (moduleFederationOptions, rsbuildOptions)=>({
|
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
if (!((_bundlerConfig_output = bundlerConfig.output) === null || _bundlerConfig_output === void 0 ? void 0 : _bundlerConfig_output.chunkLoadingGlobal) && !shouldUseSSRPluginConfig && !isActiveRspressSSGEnvironmentConfig && target !== 'node') {
|
|
384
|
-
bundlerConfig.output.
|
|
385
|
-
bundlerConfig.output.chunkLoadingGlobal = `chunk_${moduleFederationOptions.name} `;
|
|
384
|
+
bundlerConfig.output.chunkLoadingGlobal = `chunk_${moduleFederationOptions.name}`;
|
|
386
385
|
}
|
|
387
386
|
if (isNodeTargetEnvironmentConfig) {
|
|
388
387
|
(0,ssr_js_namespaceObject.patchNodeConfig)(bundlerConfig, ssrModuleFederationOptions ?? moduleFederationOptions);
|
package/dist/cli/index.mjs
CHANGED
|
@@ -324,8 +324,7 @@ const pluginModuleFederation = (moduleFederationOptions, rsbuildOptions)=>({
|
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
326
|
if (!((_bundlerConfig_output = bundlerConfig.output) === null || _bundlerConfig_output === void 0 ? void 0 : _bundlerConfig_output.chunkLoadingGlobal) && !shouldUseSSRPluginConfig && !isActiveRspressSSGEnvironmentConfig && target !== 'node') {
|
|
327
|
-
bundlerConfig.output.
|
|
328
|
-
bundlerConfig.output.chunkLoadingGlobal = `chunk_${moduleFederationOptions.name} `;
|
|
327
|
+
bundlerConfig.output.chunkLoadingGlobal = `chunk_${moduleFederationOptions.name}`;
|
|
329
328
|
}
|
|
330
329
|
if (isNodeTargetEnvironmentConfig) {
|
|
331
330
|
patchNodeConfig(bundlerConfig, ssrModuleFederationOptions ?? moduleFederationOptions);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/rsbuild-plugin",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "Module Federation plugin for Rsbuild",
|
|
5
5
|
"homepage": "https://module-federation.io",
|
|
6
6
|
"bugs": {
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"dist"
|
|
50
50
|
],
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@module-federation/sdk": "2.
|
|
53
|
-
"@module-federation/enhanced": "2.
|
|
54
|
-
"@module-federation/node": "2.7.
|
|
52
|
+
"@module-federation/sdk": "2.6.0",
|
|
53
|
+
"@module-federation/enhanced": "2.6.0",
|
|
54
|
+
"@module-federation/node": "2.7.45"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@rslib/core": "^0.12.4",
|