Skip to content

Commit 9fe3884

Browse files
committed
docs: use cheap-module-eval-source-map consistently
Resolves #1577
1 parent 0876519 commit 9fe3884

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/content/api/cli.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,10 @@ These options allow webpack to display various [stats](/configuration/stats/) an
290290

291291
### Shortcuts
292292

293-
| Shortcut | Replaces |
294-
|----------|------------------------------------------------------------------|
295-
| -d | --debug --devtool eval-cheap-module-source-map --output-pathinfo |
296-
| -p | --optimize-minimize --define process.env.NODE_ENV="production", see [building for production](/guides/production) |
293+
Shortcut | Replaces
294+
---------|----------------------------
295+
-d | `--debug --devtool cheap-module-source-map --output-pathinfo`
296+
-p | `--optimize-minimize --define process.env.NODE_ENV="production"`, see [building for production](/guides/production)
297297

298298

299299
### Profiling

src/content/guides/build-performance.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Be aware of the performance differences of the different `devtool` settings.
123123
- The `cheap-source-map` variants are more performant, if you can live with the slightly worse mapping quality.
124124
- Use a `eval-source-map` variant for incremental builds.
125125

126-
=> In most cases `eval-cheap-module-source-map` is the best option.
126+
=> In most cases `cheap-module-eval-source-map` is the best option.
127127

128128

129129
### Avoid Production Specific Tooling

0 commit comments

Comments
 (0)