From 0a8dc7e1aea2dda1f92bf59f4a80d2750aca84be Mon Sep 17 00:00:00 2001 From: jeneser Date: Tue, 8 Dec 2020 11:40:49 +0000 Subject: [PATCH] docs: add devServer.inline option --- docs/config/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/config/README.md b/docs/config/README.md index 9a3213b203..6d790fdfdd 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 at the browser console. + ### parallel - Type: `boolean | number`