Skip to content

Commit 3357d3a

Browse files
authored
docs(configuration): fix typo in UseEntry (#7179)
1 parent 8b55df0 commit 3357d3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/configuration/module.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1436,7 +1436,7 @@ It can have an `options` property being a string or object. This value is passed
14361436

14371437
For compatibility a `query` property is also possible, which is an alias for the `options` property. Use the `options` property instead.
14381438

1439-
Note that webpack needs to generate a unique module identifier from the resource and all loaders including options. It tries to do this with a `JSON.stringify` of the options object. This is fine in 99.9% of cases, but may be not unique if you apply the same loaders with different options to the resource and the options have some stringified values.
1439+
Note that webpack needs to generate a unique module identifier from the resource and all loaders including options. It tries to do this with a `JSON.stringify` of the options object. This is fine in 99.9% of cases, but may be not unique if you apply the same loaders with different options to the resource and the options have same stringified values.
14401440

14411441
It also breaks if the options object cannot be stringified (i.e. circular JSON). Because of this you can have a `ident` property in the options object which is used as unique identifier.
14421442

0 commit comments

Comments
 (0)