Skip to content

Commit 5bd903c

Browse files
committed
docs: change doc
1 parent e3997aa commit 5bd903c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/docs/en/config/devtool.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Use the [SourceMapDevToolPlugin](/plugins/webpack/source-map-dev-tool-plugin) or
1414
type Devtool = 'string' | false;
1515
```
1616

17-
- **Default:** `eval`
17+
- **Default:** production mode is `source-map`, development mode is `cheap-module-source-map`
1818

1919
## Configuration guide
2020

website/docs/zh/config/devtool.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import WebpackLicense from '@components/WebpackLicense';
1414
type Devtool = 'string' | false;
1515
```
1616

17-
- **默认值:** `eval`
17+
- **默认值:** production 模式 为 `source-map`, development 模式 为 `cheap-module-source-map`
1818

1919
## 决策指南
2020

0 commit comments

Comments
 (0)