@module-federation/rsbuild-plugin 0.18.0 → 0.18.2
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 +1 -1
- package/dist/index.esm.mjs +1 -1
- package/dist/utils.cjs.js +2 -1
- package/dist/utils.esm.mjs +2 -1
- package/package.json +5 -5
package/dist/index.cjs.js
CHANGED
|
@@ -157,7 +157,7 @@ var pluginModuleFederation = function(moduleFederationOptions, rsbuildOptions) {
|
|
|
157
157
|
requiredVersion: item
|
|
158
158
|
};
|
|
159
159
|
return config;
|
|
160
|
-
}, function(item) {
|
|
160
|
+
}, function(item, key) {
|
|
161
161
|
return item;
|
|
162
162
|
});
|
|
163
163
|
var shared = sharedOptions.map(function(shared) {
|
package/dist/index.esm.mjs
CHANGED
|
@@ -157,7 +157,7 @@ var pluginModuleFederation = function(moduleFederationOptions, rsbuildOptions) {
|
|
|
157
157
|
requiredVersion: item
|
|
158
158
|
};
|
|
159
159
|
return config;
|
|
160
|
-
}, function(item) {
|
|
160
|
+
}, function(item, key) {
|
|
161
161
|
return item;
|
|
162
162
|
});
|
|
163
163
|
var shared = sharedOptions.map(function(shared) {
|
package/dist/utils.cjs.js
CHANGED
|
@@ -286,7 +286,8 @@ function createSSRREnvConfig(envConfig, mfConfig, ssrDir, rsbuildConfig, callerN
|
|
|
286
286
|
target: 'node',
|
|
287
287
|
distPath: _object_spread_props(_object_spread({}, (_ssrEnvConfig_output = ssrEnvConfig.output) === null || _ssrEnvConfig_output === void 0 ? void 0 : _ssrEnvConfig_output.distPath), {
|
|
288
288
|
root: path.join(((_ssrEnvConfig_output1 = ssrEnvConfig.output) === null || _ssrEnvConfig_output1 === void 0 ? void 0 : (_ssrEnvConfig_output_distPath = _ssrEnvConfig_output1.distPath) === null || _ssrEnvConfig_output_distPath === void 0 ? void 0 : _ssrEnvConfig_output_distPath.root) || ((_rsbuildConfig_output = rsbuildConfig.output) === null || _rsbuildConfig_output === void 0 ? void 0 : (_rsbuildConfig_output_distPath = _rsbuildConfig_output.distPath) === null || _rsbuildConfig_output_distPath === void 0 ? void 0 : _rsbuildConfig_output_distPath.root) || '', ssrDir)
|
|
289
|
-
})
|
|
289
|
+
}),
|
|
290
|
+
emitAssets: true
|
|
290
291
|
});
|
|
291
292
|
return ssrEnvConfig;
|
|
292
293
|
}
|
package/dist/utils.esm.mjs
CHANGED
|
@@ -284,7 +284,8 @@ function createSSRREnvConfig(envConfig, mfConfig, ssrDir, rsbuildConfig, callerN
|
|
|
284
284
|
target: 'node',
|
|
285
285
|
distPath: _object_spread_props(_object_spread({}, (_ssrEnvConfig_output = ssrEnvConfig.output) === null || _ssrEnvConfig_output === void 0 ? void 0 : _ssrEnvConfig_output.distPath), {
|
|
286
286
|
root: path.join(((_ssrEnvConfig_output1 = ssrEnvConfig.output) === null || _ssrEnvConfig_output1 === void 0 ? void 0 : (_ssrEnvConfig_output_distPath = _ssrEnvConfig_output1.distPath) === null || _ssrEnvConfig_output_distPath === void 0 ? void 0 : _ssrEnvConfig_output_distPath.root) || ((_rsbuildConfig_output = rsbuildConfig.output) === null || _rsbuildConfig_output === void 0 ? void 0 : (_rsbuildConfig_output_distPath = _rsbuildConfig_output.distPath) === null || _rsbuildConfig_output_distPath === void 0 ? void 0 : _rsbuildConfig_output_distPath.root) || '', ssrDir)
|
|
287
|
-
})
|
|
287
|
+
}),
|
|
288
|
+
emitAssets: true
|
|
288
289
|
});
|
|
289
290
|
return ssrEnvConfig;
|
|
290
291
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/rsbuild-plugin",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.2",
|
|
4
4
|
"description": "Module Federation plugin for Rsbuild",
|
|
5
5
|
"homepage": "https://module-federation.io",
|
|
6
6
|
"bugs": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"main": "./dist/index.cjs.js",
|
|
33
33
|
"module": "./dist/index.esm.mjs",
|
|
34
|
-
"types": "./dist/index.
|
|
34
|
+
"types": "./dist/index.d.ts",
|
|
35
35
|
"typesVersions": {
|
|
36
36
|
"*": {
|
|
37
37
|
".": [
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
],
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"fs-extra": "11.3.0",
|
|
53
|
-
"@module-federation/sdk": "0.18.
|
|
54
|
-
"@module-federation/enhanced": "0.18.
|
|
55
|
-
"@module-federation/node": "2.7.
|
|
53
|
+
"@module-federation/sdk": "0.18.2",
|
|
54
|
+
"@module-federation/enhanced": "0.18.2",
|
|
55
|
+
"@module-federation/node": "2.7.13"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@rsbuild/core": "^1.3.21"
|