File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import { PackageManagerTabs } from '@theme';
2929
3030Then register the plugin in the ` rslib.config.ts ` file:
3131
32- ``` ts title='rslib.config.ts' twoslash
32+ ``` ts title='rslib.config.ts'
3333import { pluginModuleFederation } from ' @module-federation/rsbuild-plugin' ;
3434import { pluginReact } from ' @rsbuild/plugin-react' ;
3535import { defineConfig } from ' @rslib/core' ;
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ Rslib 支持宿主应用和 Rslib 模块联邦项目同时开发。
117117设置宿主应用消费 Rslib 的模块联邦库。查看[ @module-federation/rsbuild-plugin
118118] ( https://www.npmjs.com/package/@module-federation/rsbuild-plugin ) 获取更多信息。
119119
120- ``` ts title="rsbuild.config.ts" twoslash
120+ ``` ts title="rsbuild.config.ts"
121121import { pluginModuleFederation } from ' @module-federation/rsbuild-plugin' ;
122122import { defineConfig } from ' @rsbuild/core' ;
123123import { pluginReact } from ' @rsbuild/plugin-react' ;
You can’t perform that action at this time.
0 commit comments