@@ -116,6 +116,14 @@ exports[`CLI --https 1`] = `
116
116
<i> [webpack-dev-server] Content not from webpack is served from '<cwd>/public' directory"
117
117
`;
118
118
119
+ exports[`CLI --https-request-cert 1`] = `
120
+ "<i> [webpack-dev-server] Project is running at:
121
+ <i> [webpack-dev-server] Loopback: https://localhost:<port>/
122
+ <i> [webpack-dev-server] On Your Network (IPv4): https://<network-ip-v4>:<port>/
123
+ <i> [webpack-dev-server] On Your Network (IPv6): https://[<network-ip-v6>]:<port>/
124
+ <i> [webpack-dev-server] Content not from webpack is served from '<cwd>/public' directory"
125
+ `;
126
+
119
127
exports[`CLI --no-bonjour 1`] = `
120
128
"<i> [webpack-dev-server] Project is running at:
121
129
<i> [webpack-dev-server] Loopback: http://localhost:<port>/
@@ -148,6 +156,22 @@ exports[`CLI --no-https 1`] = `
148
156
<i> [webpack-dev-server] Content not from webpack is served from '<cwd>/public' directory"
149
157
`;
150
158
159
+ exports[`CLI --no-https-request-cert 1`] = `
160
+ "<i> [webpack-dev-server] Project is running at:
161
+ <i> [webpack-dev-server] Loopback: https://localhost:<port>/
162
+ <i> [webpack-dev-server] On Your Network (IPv4): https://<network-ip-v4>:<port>/
163
+ <i> [webpack-dev-server] On Your Network (IPv6): https://[<network-ip-v6>]:<port>/
164
+ <i> [webpack-dev-server] Content not from webpack is served from '<cwd>/public' directory"
165
+ `;
166
+
167
+ exports[`CLI https options 1`] = `
168
+ "<i> [webpack-dev-server] Project is running at:
169
+ <i> [webpack-dev-server] Loopback: https://localhost:<port>/
170
+ <i> [webpack-dev-server] On Your Network (IPv4): https://<network-ip-v4>:<port>/
171
+ <i> [webpack-dev-server] On Your Network (IPv6): https://[<network-ip-v6>]:<port>/
172
+ <i> [webpack-dev-server] Content not from webpack is served from '<cwd>/public' directory"
173
+ `;
174
+
151
175
exports[`CLI should generate correct cli flags 1`] = `
152
176
"Usage: webpack serve|s [entries...] [options]
153
177
@@ -199,6 +223,13 @@ Options:
199
223
--no-live-reload Disables live reloading on changing files.
200
224
--https Use HTTPS protocol.
201
225
--no-https Do not use HTTPS protocol.
226
+ --https-passphrase <value> Passphrase for a pfx file.
227
+ --https-key <value> Path to an SSL key.
228
+ --https-pfx <value> Path to an SSL pfx file.
229
+ --https-cert <value> Path to an SSL certificate.
230
+ --https-cacert <value> Path to an SSL CA certificate.
231
+ --https-request-cert Request for an SSL certificate.
232
+ --no-https-request-cert Do not request for an SSL certificate.
202
233
--http2 Use HTTP/2, must be used with HTTPS.
203
234
--no-http2 Do not use HTTP/2.
204
235
--bonjour Broadcasts the server via ZeroConf
0 commit comments