Skip to content

Commit f8c0693

Browse files
committed
Update docs according to feature introduced in latest webpack: PR changes
1 parent b4d4fdb commit f8c0693

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/configuration/output.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ If multiple modules would result in the same name, [`output.devtoolFallbackModul
160160

161161
`string`
162162

163-
This option determines the modules namespace used with the [`output.devtoolModuleFilenameTemplate`](#output-devtoolmodulefilenametemplate). When not specified, it will default to the value of: [`output.library`](#output-library). It's use is to prevent source file path collisions in sourcemaps when loading multiple libraries built with webpack.
163+
This option determines the modules namespace used with the [`output.devtoolModuleFilenameTemplate`](#output-devtoolmodulefilenametemplate). When not specified, it will default to the value of: [`output.library`](#output-library). It's used to prevent source file path collisions in sourcemaps when loading multiple libraries built with webpack.
164164

165165
For example, if you have 2 libraries, with namespaces `library1` and `library2`, which both have a file `./src/index.js` (with potentially different contents), they will expose these files as `webpack://library1/./src/index.js` and `webpack://library2/./src/index.js`.
166166

@@ -245,7 +245,7 @@ Since v4.0.0-alpha2 `hashFunction` can now be a constructor to a custom hash fun
245245
hashFunction: require('metrohash').MetroHash64
246246
```
247247

248-
Make sure that hashing function will have `update` and `digest` methods available.
248+
Make sure that the hashing function will have `update` and `digest` methods available.
249249

250250
## `output.hashSalt`
251251

0 commit comments

Comments
 (0)