Skip to content

Commit 5f08e93

Browse files
committed
chore: solve conversation issues
1 parent bb574ca commit 5f08e93

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

examples/module-federation/mf-react-component/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ This example demonstrates how to use Rslib to build a simple Module Federation R
66

77
Dev MF module
88

9-
1. start remote module which is loaded by rslib module
9+
1. Start remote module which is loaded by Rslib module.
1010

1111
```
1212
nx run @examples/mf-remote:dev
1313
```
1414

15-
2. use storybook to dev rslib module
15+
2. Use Storybook to development component.
1616

1717
```
1818
nx run @examples/mf-react-component:storybook

examples/module-federation/mf-react-component/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"private": true,
44
"exports": {
55
".": {
6+
"types": "./dist/cjs/index.d.ts",
67
"import": "./dist/esm/index.mjs",
78
"require": "./dist/cjs/index.js"
89
}

website/docs/en/guide/advanced/module-federation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default defineConfig({
6363
// add expose here
6464
},
6565
// can not add 'remote' here, because you may build 'esm' or 'cjs' assets in one build.
66-
// if you want the rslib package use remote module, please see below.
66+
// if you want the Rslib package use remote module, please see below.
6767
shared: {
6868
react: {
6969
singleton: true,

0 commit comments

Comments
 (0)