Skip to content

Commit 257b52e

Browse files
committed
docs(config) move sockPort option alphabetically to socket options group
1 parent 8d41624 commit 257b52e

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

src/content/configuration/dev-server.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,6 +1192,23 @@ module.exports = {
11921192
};
11931193
```
11941194

1195+
## `devServer.sockPort`
1196+
1197+
`number` `string`
1198+
1199+
Tells `devServer` to use provided socket port.
1200+
1201+
__webpack.config.js__
1202+
1203+
```javascript
1204+
module.exports = {
1205+
//...
1206+
devServer: {
1207+
sockPort: 8080
1208+
}
1209+
};
1210+
```
1211+
11951212

11961213
## `devServer.staticOptions`
11971214

@@ -1353,20 +1370,3 @@ module.exports = {
13531370
}
13541371
};
13551372
```
1356-
1357-
## `devServer.sockPort`
1358-
1359-
`number` `string`
1360-
1361-
Tells `devServer` to use provided socket port.
1362-
1363-
__webpack.config.js__
1364-
1365-
```javascript
1366-
module.exports = {
1367-
//...
1368-
devServer: {
1369-
sockPort: 8080
1370-
}
1371-
};
1372-
```

0 commit comments

Comments
 (0)