Skip to content

Commit f414e21

Browse files
EugeneHlushkomontogeek
authored andcommitted
docs(config) correct caching default, fix minors (#2945)
1 parent f05d651 commit f414e21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/configuration/other-options.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ As it happens, the AMD support in webpack ignores the defined name anyways.
4747

4848
## `bail`
4949

50-
`boolean`
50+
`bool`
5151

5252
Fail out on the first error instead of tolerating it. By default webpack will log these errors in red in the terminal, as well as the browser console when using HMR, but continue bundling. To enable it:
5353

@@ -65,9 +65,9 @@ This will force webpack to exit its bundling process.
6565

6666
## `cache`
6767

68-
`boolean` `object`
68+
`bool` `object`
6969

70-
Cache the generated webpack modules and chunks to improve build speed. Caching is enabled by default while in watch mode. To disable caching simply pass:
70+
Cache the generated webpack modules and chunks to improve build speed. Caching will be automatically enabled by default while in [watch mode](/configuration/watch#watch) and webpack is set to mode [`development`](/configuration/mode#mode-development). To enable caching manually set it to `true`:
7171

7272
__webpack.config.js__
7373

0 commit comments

Comments
 (0)