Skip to content

[duplicate] docs: add devServer.inline in config reference #6125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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://<host>:<port>/webpack-dev-server/<path>` 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://<host>:<port>/<path>` to debug your app. The build messages will appear at the browser console.

### parallel

- Type: `boolean | number`
Expand Down