Skip to content

Commit 473f3d8

Browse files
authored
docs: add devServer.inline in config reference (#6126) [skip ci]
closes #6031
1 parent 5ad4461 commit 473f3d8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/config/README.md

+10
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,16 @@ In v3 this means the opposite of `css.requireModuleExtension`.
373373
}
374374
```
375375

376+
### devServer.inline
377+
378+
- Type: `boolean`
379+
- Default: `true`
380+
381+
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:
382+
383+
- To use the `iframe mode` no additional configuration is needed. Just navigate the browser to `http://<host>:<port>/webpack-dev-server/<path>` to debug your app. A notification bar with messages will appear at the top of your app.
384+
- To use the `inline mode`, just navigate to `http://<host>:<port>/<path>` to debug your app. The build messages will appear in the browser console.
385+
376386
### parallel
377387

378388
- Type: `boolean | number`

0 commit comments

Comments
 (0)