From 68cc3b694a8bdf83a407f201715e41703493c974 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Wed, 2 Feb 2022 06:05:21 +0530 Subject: [PATCH] docs(configuration): update `devServer` option types --- src/content/configuration/dev-server.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content/configuration/dev-server.mdx b/src/content/configuration/dev-server.mdx index db839cb4d730..bde7fe719f43 100644 --- a/src/content/configuration/dev-server.mdx +++ b/src/content/configuration/dev-server.mdx @@ -1117,7 +1117,7 @@ module.exports = { ## devServer.open -`boolean` `string` `[string]` `object` `[object]` +`boolean` `string` `object` `[string, object]` Tells dev-server to open the browser after server had been started. Set it to `true` to open your default browser. @@ -1612,7 +1612,7 @@ module.exports = { ## devServer.static -`boolean` `string` `[string]` `object` `[object]` +`boolean` `string` `object` `[string, object]` This option allows configuring options for serving static files from the directory (by default 'public' directory). To disable set it to `false`: @@ -1882,7 +1882,7 @@ module.exports = { ## devServer.watchFiles -`string` `[string]` `object` `[object]` +`string` `object` `[string, object]` This option allows you to configure a list of globs/directories/files to watch for file changes. For example: