Skip to content

Commit c0dd299

Browse files
committed
docs: avoid code in heading
1 parent b4a8428 commit c0dd299

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/content/configuration/dev-server.mdx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ This page describes the options that affect the behavior of webpack-dev-server (
2828

2929
W> `webpack-dev-server v4.0.0+` requires `node >= v12.13.0`, `webpack >= v4.37.0` (but we recommend using `webpack >= v5.0.0`), and `webpack-cli >= v4.7.0`.
3030

31-
## `devServer`
31+
## devServer
3232

3333
`object`
3434

@@ -85,7 +85,7 @@ npx webpack serve
8585

8686
A list of CLI options for `serve` is available [here](https://github.com/webpack/webpack-cli/blob/master/SERVE-OPTIONS-v4.md)
8787

88-
## `devServer.allowedHosts`
88+
## devServer.allowedHosts
8989

9090
`'auto' | 'all'` `[string]`
9191

@@ -167,7 +167,7 @@ Usage via the CLI:
167167
npx webpack serve --allowed-hosts auto
168168
```
169169

170-
## `devServer.bonjour`
170+
## devServer.bonjour
171171

172172
`boolean` `object`
173173

@@ -212,9 +212,9 @@ module.exports = {
212212
};
213213
```
214214

215-
## `devServer.client`
215+
## devServer.client
216216

217-
### `logging`
217+
### logging
218218

219219
`'log' | 'info' | 'warn' | 'error' | 'none' | 'verbose'`
220220

@@ -239,7 +239,7 @@ Usage via the CLI:
239239
npx webpack serve --client-logging info
240240
```
241241

242-
### `overlay`
242+
### overlay
243243

244244
`boolean = true` `object: { errors boolean = true, warnings boolean = true }`
245245

@@ -294,7 +294,7 @@ Usage via the CLI:
294294
npx webpack serve --client-overlay-errors --no-client-overlay-warnings
295295
```
296296

297-
### `progress`
297+
### progress
298298

299299
Prints compilation progress in percentage in the browser.
300300

@@ -443,7 +443,7 @@ module.exports = {
443443

444444
T> To get `protocol`/`hostname`/`port` from browser use `webSocketURL: 'auto://0.0.0.0:0/ws'`.
445445

446-
## `devServer.compress`
446+
## devServer.compress
447447

448448
`boolean = true`
449449

@@ -490,7 +490,7 @@ module.exports = {
490490
};
491491
```
492492

493-
## `devServer.http2`
493+
## devServer.http2
494494

495495
`boolean`
496496

@@ -545,7 +545,7 @@ To pass your own certificate via CLI, use the following options:
545545
npx webpack serve --http2 --https-key ./path/to/server.key --https-cert ./path/to/server.crt --https-cacert ./path/to/ca.pem
546546
```
547547

548-
## `devServer.https`
548+
## devServer.https
549549

550550
`boolean` `object`
551551

@@ -601,7 +601,7 @@ To pass your own certificate via the CLI use the following options:
601601
npx webpack serve --https-key ./path/to/server.key --https--cert ./path/to/server.crt --https-cacert ./path/to/ca.pem
602602
```
603603

604-
## `devServer.headers`
604+
## devServer.headers
605605

606606
`function` `object`
607607

@@ -738,7 +738,7 @@ Specifying local-ipv6 as host will try to resolve the host option as your local
738738
npx webpack serve --host local-ipv6
739739
```
740740

741-
## `devServer.hot`
741+
## devServer.hot
742742

743743
`'only'` `boolean`
744744

0 commit comments

Comments
 (0)