Skip to content

Commit 4710333

Browse files
author
Pavithra K
committed
Fixes nosources with more understanding
1 parent 09bfe17 commit 4710333

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/configuration/devtool.md

Lines changed: 2 additions & 1 deletion
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,7 +50,7 @@ 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

52-
`nosources` - This option prevents the generation of a SourceMap file for your project.
53+
`nosources-source-map` - A SourceMap is created without the sourcesContent in it.
5354

5455
T> See [`output.sourceMapFilename`](/configuration/output#output-sourcemapfilename) to customize the filenames of generated Source Maps.
5556

0 commit comments

Comments
 (0)