@module-federation/rsbuild-plugin 2.5.1 → 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 -1
- package/dist/cli/index.mjs +1 -1
- package/package.json +4 -4
package/dist/cli/index.js
CHANGED
|
@@ -381,7 +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.chunkLoadingGlobal = `chunk_${moduleFederationOptions.name}
|
|
384
|
+
bundlerConfig.output.chunkLoadingGlobal = `chunk_${moduleFederationOptions.name}`;
|
|
385
385
|
}
|
|
386
386
|
if (isNodeTargetEnvironmentConfig) {
|
|
387
387
|
(0,ssr_js_namespaceObject.patchNodeConfig)(bundlerConfig, ssrModuleFederationOptions ?? moduleFederationOptions);
|
package/dist/cli/index.mjs
CHANGED
|
@@ -324,7 +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.chunkLoadingGlobal = `chunk_${moduleFederationOptions.name}
|
|
327
|
+
bundlerConfig.output.chunkLoadingGlobal = `chunk_${moduleFederationOptions.name}`;
|
|
328
328
|
}
|
|
329
329
|
if (isNodeTargetEnvironmentConfig) {
|
|
330
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/
|
|
54
|
-
"@module-federation/
|
|
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",
|