We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eef805 commit da4c722Copy full SHA for da4c722
2 files changed
.changeset/pink-ravens-glow.md
@@ -0,0 +1,5 @@
1
+---
2
+'@module-federation/rspress-plugin': patch
3
4
+
5
+fix(rspress-plugin): auto infer environment
packages/rspress-plugin/src/plugin.ts
@@ -93,7 +93,6 @@ export function pluginModuleFederation(
93
config.builderConfig.plugins.push(
94
rsbuildPluginModuleFederation(mfConfig, {
95
target: enableSSG ? 'dual' : 'web',
96
- environment: 'node',
97
ssrDir: 'mf-ssg',
98
}),
99
);
0 commit comments