Skip to content

Commit e7071aa

Browse files
committed
dev server config - public - CLI
1 parent 216bfa3 commit e7071aa

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

content/configuration/dev-server.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ webpack-dev-server --progress
549549
```
550550

551551

552-
## `devServer.public` - CLI only
552+
## `devServer.public`
553553

554554
`string`
555555

@@ -561,6 +561,11 @@ For example, the dev-server is proxied by nginx, and available on `myapp.test`:
561561
public: "myapp.test:80"
562562
```
563563

564+
Usage via the CLI
565+
```
566+
webpack-dev-server --public myapp.test:80
567+
```
568+
564569

565570
## `devServer.publicPath` 🔑
566571

0 commit comments

Comments
 (0)