@module-federation/rspress-plugin 0.22.0 → 0.23.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/esm/index.js CHANGED
@@ -244,7 +244,7 @@ function plugin_pluginModuleFederation(mfConfig, rspressOptions) {
244
244
  }
245
245
  config.builderConfig.plugins ||= [];
246
246
  config.builderConfig.plugins.push(pluginModuleFederation(mfConfig, {
247
- ssr: enableSSG,
247
+ target: enableSSG ? 'dual' : 'web',
248
248
  environment: 'node',
249
249
  ssrDir: 'mf-ssg'
250
250
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/rspress-plugin",
3
- "version": "0.22.0",
3
+ "version": "0.23.0",
4
4
  "type": "module",
5
5
  "description": "Module Federation plugin for Rspress",
6
6
  "keywords": [
@@ -41,10 +41,10 @@
41
41
  "fs-extra": "11.3.0",
42
42
  "html-to-text": "^9.0.5",
43
43
  "lodash-es": "^4.17.21",
44
- "@module-federation/sdk": "0.22.0",
45
- "@module-federation/enhanced": "0.22.0",
46
- "@module-federation/rsbuild-plugin": "0.22.0",
47
- "@module-federation/error-codes": "0.22.0"
44
+ "@module-federation/enhanced": "0.23.0",
45
+ "@module-federation/rsbuild-plugin": "0.23.0",
46
+ "@module-federation/sdk": "0.23.0",
47
+ "@module-federation/error-codes": "0.23.0"
48
48
  },
49
49
  "scripts": {
50
50
  "build": "rslib build",