Skip to content

Commit

Permalink
adding extra lines as indicated
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicDuck authored and skipjack committed Dec 19, 2017
1 parent 3066881 commit 549cd38
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/content/configuration/output.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,16 @@ devtoolModuleFilenameTemplate: info => {

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


## `output.devtoolNamespace`

`string`

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.

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`.


## `output.filename`

`string`
Expand Down

0 comments on commit 549cd38

Please sign in to comment.