Skip to content

Commit f3c515c

Browse files
MagicDuckskipjack
authored andcommitted
adding extra lines as indicated
1 parent dafbbb2 commit f3c515c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/content/configuration/output.md

+3
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,16 @@ devtoolModuleFilenameTemplate: info => {
165165

166166
If multiple modules would result in the same name, [`output.devtoolFallbackModuleFilenameTemplate`](#output-devtoolfallbackmodulefilenametemplate) is used instead for these modules.
167167

168+
168169
## `output.devtoolNamespace`
169170

170171
`string`
171172

172173
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.
174+
173175
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`.
174176

177+
175178
## `output.filename`
176179

177180
`string` `function`

0 commit comments

Comments
 (0)