Skip to content

Commit fd303b2

Browse files
authored
docs(website-new): format remotesInfo (#3885)
1 parent a6d0c2a commit fd303b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/website-new/docs/en/guide/debug/variables.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ moduleInfo: {
479479

480480
In the above example, `moduleInfo` contains information about 5 modules, among which `manifest_host` does not have a version number after it, indicating that it is a consumer module.
481481

482-
The remotesInfo field in `manifest_host` records the information of all producer modules it depends on, and the corresponding `matchedVersion` field records the version or `url` it matches.
482+
The `remotesInfo` field in `manifest_host` records the information of all producer modules it depends on, and the corresponding `matchedVersion` field records the version or `url` it matches.
483483

484484
The corresponding producer module information can be obtained through the key + `matchedVersion` in the consumer `remotesInfo` field, such as `webpack_provider:http://localhost:3009/mf-manifest.json`.
485485

apps/website-new/docs/zh/guide/debug/variables.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ moduleInfo: {
479479

480480
在上述示例中,`moduleInfo` 包含了 5 个模块的信息,其中 `manifest_host` 后面没带有版本号,说明它是一个消费者模块。
481481

482-
`manifest_host` 中的 remotesInfo 字段记录了它依赖的所有生产者模块的信息,对应的 `matchedVersion` 字段记录了它匹配到的版本或者 `url`
482+
`manifest_host` 中的 `remotesInfo` 字段记录了它依赖的所有生产者模块的信息,对应的 `matchedVersion` 字段记录了它匹配到的版本或者 `url`
483483

484484
可以通过消费者 `remotesInfo` 字段中的 key + `matchedVersion` 来获取对应的生产者模块信息,比如 `webpack_provider:http://localhost:3009/mf-manifest.json`
485485

0 commit comments

Comments
 (0)