You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/configuration/dev-server.md
+17
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ contributors:
12
12
- Yiidiir
13
13
- Loonride
14
14
- dmohns
15
+
- EslamHiko
15
16
---
16
17
17
18
[webpack-dev-server](https://github.com/webpack/webpack-dev-server) can be used to quickly develop an application. See the [development guide](/guides/development/) to get started.
@@ -1108,6 +1109,22 @@ Usage via the CLI
1108
1109
webpack-dev-server --quiet
1109
1110
```
1110
1111
1112
+
## `devServer.serveIndex`
1113
+
1114
+
`boolean: true`
1115
+
1116
+
Tells dev-server to use [`serveIndex`](https://github.com/expressjs/serve-index) middleware when enabled.
1117
+
1118
+
[`serveIndex`](https://github.com/expressjs/serve-index) middleware generates directory listings on viewing directories that don't have an index.html file.
0 commit comments