Skip to content

Commit a34a46b

Browse files
authored
docs(configuration): update devServer option types (#5937)
1 parent f857953 commit a34a46b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/configuration/dev-server.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@ module.exports = {
11171117

11181118
## devServer.open
11191119

1120-
`boolean` `string` `[string]` `object` `[object]`
1120+
`boolean` `string` `object` `[string, object]`
11211121

11221122
Tells dev-server to open the browser after server had been started. Set it to `true` to open your default browser.
11231123

@@ -1612,7 +1612,7 @@ module.exports = {
16121612

16131613
## devServer.static
16141614

1615-
`boolean` `string` `[string]` `object` `[object]`
1615+
`boolean` `string` `object` `[string, object]`
16161616

16171617
This option allows configuring options for serving static files from the directory (by default 'public' directory). To disable set it to `false`:
16181618

@@ -1882,7 +1882,7 @@ module.exports = {
18821882

18831883
## devServer.watchFiles
18841884

1885-
`string` `[string]` `object` `[object]`
1885+
`string` `object` `[string, object]`
18861886

18871887
This option allows you to configure a list of globs/directories/files to watch for file changes. For example:
18881888

0 commit comments

Comments
 (0)