Skip to content

Commit da4c722

Browse files
authored
fix(rspress-plugin): auto infer environment (#4488)
1 parent 5eef805 commit da4c722

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.changeset/pink-ravens-glow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ export function pluginModuleFederation(
9393
config.builderConfig.plugins.push(
9494
rsbuildPluginModuleFederation(mfConfig, {
9595
target: enableSSG ? 'dual' : 'web',
96-
environment: 'node',
9796
ssrDir: 'mf-ssg',
9897
}),
9998
);

0 commit comments

Comments
 (0)