From 61264927a0aa2388e8adec239d5d2a099db98458 Mon Sep 17 00:00:00 2001 From: jeneser Date: Tue, 8 Dec 2020 12:16:50 +0000 Subject: [PATCH] docs: add devServer.inline in config reference --- docs/config/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/config/README.md b/docs/config/README.md index 71ea34fea1..418137d9c4 100644 --- a/docs/config/README.md +++ b/docs/config/README.md @@ -373,6 +373,16 @@ In v3 this means the opposite of `css.requireModuleExtension`. } ``` +### devServer.inline + +- Type: `boolean` +- Default: `true` + + Toggle between the dev-server's two different modes. See [devServer.inline](https://webpack.js.org/configuration/dev-server/#devserverinline) for more details. Note that: + + - To use the `iframe mode` no additional configuration is needed. Just navigate the browser to `http://:/webpack-dev-server/` to debug your app. A notification bar with messages will appear at the top of your app. + - To use the `inline mode`, just navigate to `http://:/` to debug your app. The build messages will appear in the browser console. + ### parallel - Type: `boolean | number`