Skip to content

Commit 60ac566

Browse files
chore: fix doc imports for node (#2369)
Co-authored-by: ScriptedAlchemy <zackaryjackson@bytedance.com>
1 parent 9137502 commit 60ac566

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/rich-peaches-tan.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'website-new': patch
3+
---
4+
5+
fix imports for node plugin in docs

apps/website-new/docs/en/plugin/plugins/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The runtime plugin can be applied at compile-time or runtime
2525
<Tabs>
2626
<Tab label="Rspack">
2727
```typescript title="rspack.config.js"
28-
const {ModuleFederationPlugin} = require('@module-federation/enhanced/webpack');
28+
const {ModuleFederationPlugin} = require('@module-federation/enhanced/rspack');
2929

3030
new ModuleFederationPlugin({
3131
// other options
@@ -37,7 +37,7 @@ The runtime plugin can be applied at compile-time or runtime
3737
</Tab>
3838
<Tab label="Webpack">
3939
```typescript title="webpack.config.js"
40-
const {ModuleFederationPlugin} = require('@module-federation/enhanced/rspack');
40+
const {ModuleFederationPlugin} = require('@module-federation/enhanced/webpack');
4141

4242
new ModuleFederationPlugin({
4343
// other options

0 commit comments

Comments
 (0)