Skip to content

Commit 45c21ce

Browse files
authored
docs(ModuleFederationPlugin): update requiredVersion description (#7213)
1 parent b618619 commit 45c21ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/plugins/module-federation-plugin.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ The package name that is used to determine required version from description fil
177177

178178
##### **`requiredVersion`**
179179

180-
`false | string`
180+
`false` `string`
181181

182-
The required version of the package. It accepts semantic versioning. For example, "^1.2.3".
182+
This field specifies the required version of the package. It accepts semantic versioning, such as "^1.2.3". Additionally, it retrieves the version if it's provided as a URL, for instance: "git+ssh://[email protected]:foo/bar.git#v1.0.0".
183183

184184
##### **`shareKey`**
185185

0 commit comments

Comments
 (0)