File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
apps/website-new/docs/en/plugin/plugins Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' website-new ' : patch
3+ ---
4+
5+ fix imports for node plugin in docs
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments