@module-federation/rsbuild-plugin 0.0.0-next-20241224163615 → 0.0.0-next-20241226090607
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.js +2 -3
- package/dist/index.esm.js +2 -3
- package/package.json +3 -3
package/dist/index.cjs.js
CHANGED
|
@@ -226,7 +226,7 @@ var pluginModuleFederation = function(moduleFederationOptions) {
|
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
if (!((_bundlerConfig_output = bundlerConfig.output) === null || _bundlerConfig_output === void 0 ? void 0 : _bundlerConfig_output.chunkLoadingGlobal)) {
|
|
229
|
-
bundlerConfig.output.
|
|
229
|
+
bundlerConfig.output.chunkLoading = 'jsonp';
|
|
230
230
|
}
|
|
231
231
|
// `uniqueName` is required for react refresh to work
|
|
232
232
|
if (!((_bundlerConfig_output1 = bundlerConfig.output) === null || _bundlerConfig_output1 === void 0 ? void 0 : _bundlerConfig_output1.uniqueName)) {
|
|
@@ -262,8 +262,7 @@ var pluginModuleFederation = function(moduleFederationOptions) {
|
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
264
|
});
|
|
265
|
-
api.modifyEnvironmentConfig(function(config
|
|
266
|
-
param.mergeEnvironmentConfig;
|
|
265
|
+
api.modifyEnvironmentConfig(function(config) {
|
|
267
266
|
// Module Federation runtime uses ES6+ syntax,
|
|
268
267
|
// adding to include and let SWC transform it
|
|
269
268
|
config.source.include = _to_consumable_array(config.source.include || []).concat([
|
package/dist/index.esm.js
CHANGED
|
@@ -225,7 +225,7 @@ var pluginModuleFederation = function(moduleFederationOptions) {
|
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
if (!((_bundlerConfig_output = bundlerConfig.output) === null || _bundlerConfig_output === void 0 ? void 0 : _bundlerConfig_output.chunkLoadingGlobal)) {
|
|
228
|
-
bundlerConfig.output.
|
|
228
|
+
bundlerConfig.output.chunkLoading = 'jsonp';
|
|
229
229
|
}
|
|
230
230
|
// `uniqueName` is required for react refresh to work
|
|
231
231
|
if (!((_bundlerConfig_output1 = bundlerConfig.output) === null || _bundlerConfig_output1 === void 0 ? void 0 : _bundlerConfig_output1.uniqueName)) {
|
|
@@ -261,8 +261,7 @@ var pluginModuleFederation = function(moduleFederationOptions) {
|
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
});
|
|
264
|
-
api.modifyEnvironmentConfig(function(config
|
|
265
|
-
param.mergeEnvironmentConfig;
|
|
264
|
+
api.modifyEnvironmentConfig(function(config) {
|
|
266
265
|
// Module Federation runtime uses ES6+ syntax,
|
|
267
266
|
// adding to include and let SWC transform it
|
|
268
267
|
config.source.include = _to_consumable_array(config.source.include || []).concat([
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/rsbuild-plugin",
|
|
3
|
-
"version": "0.0.0-next-
|
|
3
|
+
"version": "0.0.0-next-20241226090607",
|
|
4
4
|
"description": "Module Federation plugin for Rsbuild",
|
|
5
5
|
"homepage": "https://module-federation.io",
|
|
6
6
|
"bugs": {
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"dist"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@module-federation/sdk": "0.0.0-next-
|
|
43
|
+
"@module-federation/sdk": "0.0.0-next-20241226090607"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@rsbuild/core": "^1.0.19"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@rsbuild/core": "1.x",
|
|
50
|
-
"@module-federation/enhanced": "0.0.0-next-
|
|
50
|
+
"@module-federation/enhanced": "0.0.0-next-20241226090607"
|
|
51
51
|
},
|
|
52
52
|
"peerDependenciesMeta": {
|
|
53
53
|
"@rsbuild/core": {
|