Skip to content

Commit 5dd2bda

Browse files
authored
fix: add link for bonjour options (#3263)
1 parent 199baec commit 5dd2bda

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

lib/options.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@
148148
"type": "boolean"
149149
},
150150
{
151-
"type": "object"
151+
"type": "object",
152+
"description": "Options for bonjour, description available at https://github.com/watson/bonjour#initializing"
152153
}
153154
],
154155
"description": "Broadcasts the server via ZeroConf networking on start. https://webpack.js.org/configuration/dev-server/#devserverbonjour"

test/__snapshots__/validate-options.test.js.snap.webpack4

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ exports[`options validate should throw an error on the "bonjour" option with ''
88
Details:
99
* configuration.bonjour should be a boolean.
1010
* configuration.bonjour should be an object:
11-
object { … }"
11+
object { … }
12+
-> Options for bonjour, description available at https://github.com/watson/bonjour#initializing"
1213
`;
1314

1415
exports[`options validate should throw an error on the "client" option with '{"host":true,"path":"","port":8080}' value 1`] = `

test/__snapshots__/validate-options.test.js.snap.webpack5

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ exports[`options validate should throw an error on the "bonjour" option with ''
88
Details:
99
* configuration.bonjour should be a boolean.
1010
* configuration.bonjour should be an object:
11-
object { … }"
11+
object { … }
12+
-> Options for bonjour, description available at https://github.com/watson/bonjour#initializing"
1213
`;
1314

1415
exports[`options validate should throw an error on the "client" option with '{"host":true,"path":"","port":8080}' value 1`] = `

0 commit comments

Comments
 (0)