Skip to content

Commit 048be25

Browse files
authored
Merge pull request #459 from kalcifer/minor/nosources
Adds a line about nosources
2 parents 581bd72 + 7fe0e89 commit 048be25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

content/configuration/devtool.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Choose a style of [source mapping](http://blog.teamtreehouse.com/introduction-so
2424
cheap-module-source-map | o | - | yes | original source (lines only)
2525
eval-source-map | -- | + | no | original source
2626
source-map | -- | -- | yes | original source
27+
nosources-source-map | -- | -- | yes | without source content
2728

2829
Some of these values are suited for development and some for production. For development you typically want very fast Source Maps at the cost of bundle size, but for production you want separate Source Maps that are accurate.
2930

@@ -49,6 +50,8 @@ W> There are some issues with Source Maps in Chrome. [We need your help!](https:
4950

5051
`cheap-module-source-map` - A SourceMap without column-mappings that simplifies loaded Source Maps to a single mapping per line.
5152

53+
`nosources-source-map` - A SourceMap is created without the `sourcesContent` in it. It can be used to map stack traces on the client without exposing all of the source code.
54+
5255
T> See [`output.sourceMapFilename`](/configuration/output#output-sourcemapfilename) to customize the filenames of generated Source Maps.
5356

5457
?> This page needs more information to make it easier for users to choose a good option.

0 commit comments

Comments
 (0)