Skip to content

Commit 95f6070

Browse files
authored
docs(configuration): Fix typos (#4400)
1 parent 05925c2 commit 95f6070

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/content/configuration/module.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ module.exports = {
5555

5656
`boolean` `function (module)`
5757

58-
Cache the resolution of module requests. There are couple of defaults for `module.unsafeCache`:
58+
Cache the resolution of module requests. There are a couple of defaults for `module.unsafeCache`:
5959

6060
- `false` if [`cache`](/configuration/other-options/#cache) is disabled.
6161
- `true` if [`cache`](/configuration/other-options/#cache) is enabled and the module appears to come from node modules, `false` otherwise.
@@ -167,7 +167,7 @@ import { b } from '-!./file2.js';
167167
import { c } from '!!./file3.js';
168168
```
169169

170-
Inline loaders and `!` prefixes should not be used as they are non-standard. They may be use by loader generated code.
170+
Inline loaders and `!` prefixes should not be used as they are non-standard. They may be used by loader generated code.
171171

172172

173173
## `Rule.exclude`

src/content/configuration/optimization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ W> `moduleIds: total-size` has been removed in webpack 5.
224224

225225
`boolean = false` `string: 'natural' | 'named' | 'size' | 'total-size' | 'deterministic' `
226226

227-
Tells webpack which algorithm to use when choosing chunk ids. Setting `optimization.chunkIds` to `false` tells webpack that none of built-in algorithms should be used, as custom one can be provided via plugin. There are couple of defaults for `optimization.chunkIds`:
227+
Tells webpack which algorithm to use when choosing chunk ids. Setting `optimization.chunkIds` to `false` tells webpack that none of built-in algorithms should be used, as custom one can be provided via plugin. There are a couple of defaults for `optimization.chunkIds`:
228228

229229
- Also if the environment is development then `optimization.chunkIds` is set to `'named'`, while in production it is set to `'deterministic'`
230230
- if none of the above, `optimization.chunkIds` will be defaulted to `'natural'`

0 commit comments

Comments
 (0)