Skip to content

Commit c830713

Browse files
authored
docs: add migration guide for webpack-dev-server@6.0.0
1 parent 1973589 commit c830713

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

migration-v6.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Migration guide
2+
3+
This document serves as a migration guide for `webpack-dev-server@6.0.0`.
4+
5+
## Deprecations
6+
7+
- The static methods `internalIP` and `internalIPSync` were removed. Use `findIp` instead.
8+
9+
v4:
10+
11+
```js
12+
const ip = Server.internalIP("v4");
13+
```
14+
15+
v5:
16+
17+
```js
18+
const ip = Server.findIp("v4", true);
19+
```

0 commit comments

Comments
 (0)