diff --git a/README.md b/README.md index 11b3889139..3b99d4ff84 100644 --- a/README.md +++ b/README.md @@ -119,40 +119,38 @@ Options: --host Allows to specify a hostname to use. --hot [value] Enables Hot Module Replacement. --no-hot Disables Hot Module Replacement. - --http2 Allows to serve over HTTP/2 using SPDY. Deprecated, it will be removed in favor of the `server` option. + --http2 Allows to serve over HTTP/2 using SPDY. Deprecated, use the `server` option. --no-http2 Does not serve over HTTP/2 using SPDY. - --https Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor - of the `server` option. + --https Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the `server` option. --no-https Disallows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). - --https-passphrase Passphrase for a pfx file. Deprecated, it will be removed in favor of the `server.options.passphrase` option. - --https-request-cert Request for an SSL certificate. Deprecated, it will be removed in favor of the `server.options.requestCert` - option. + --https-passphrase Passphrase for a pfx file. Deprecated, use the `server.options.passphrase` option. + --https-request-cert Request for an SSL certificate. Deprecated, use the `server.options.requestCert` option. --no-https-request-cert Negative 'https-request-cert' option. - --https-ca Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the + --https-ca Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option. --https-ca-reset Clear all items provided in 'https.ca' configuration. Path to an SSL CA certificate or content of an SSL CA - certificate. Deprecated, it will be removed in favor of the `server.options.ca` option. - --https-cacert Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the + certificate. Deprecated, use the `server.options.ca` option. + --https-cacert Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.cacert` option. --https-cacert-reset Clear all items provided in 'https.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA - certificate. Deprecated, it will be removed in favor of the `server.options.cacert` option. - --https-cert Path to an SSL certificate or content of an SSL certificate. Deprecated, it will be removed in favor of the + certificate. Deprecated, use the `server.options.cacert` option. + --https-cert Path to an SSL certificate or content of an SSL certificate. Deprecated, use the `server.options.cert` option. --https-cert-reset Clear all items provided in 'https.cert' configuration. Path to an SSL certificate or content of an SSL - certificate. Deprecated, it will be removed in favor of the `server.options.cert` option. + certificate. Deprecated, use the `server.options.cert` option. --https-crl Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate - Revocation Lists). Deprecated, it will be removed in favor of the `server.options.crl` option. + Revocation Lists). Deprecated, use the `server.options.crl` option. --https-crl-reset Clear all items provided in 'https.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) - or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, it will be removed in favor of the + or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, use the `server.options.crl` option. - --https-key Path to an SSL key or content of an SSL key. Deprecated, it will be removed in favor of the `server.options.key` + --https-key Path to an SSL key or content of an SSL key. Deprecated, use the `server.options.key` option. --https-key-reset Clear all items provided in 'https.key' configuration. Path to an SSL key or content of an SSL key. Deprecated, - it will be removed in favor of the `server.options.key` option. - --https-pfx Path to an SSL pfx file or content of an SSL pfx file. Deprecated, it will be removed in favor of the + use the `server.options.key` option. + --https-pfx Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the `server.options.pfx` option. --https-pfx-reset Clear all items provided in 'https.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. - Deprecated, it will be removed in favor of the `server.options.pfx` option. + Deprecated, use the `server.options.pfx` option. --ipc [value] Listen to a unix socket. --live-reload Enables reload/refresh the page(s) when file changes are detected (enabled by default). --no-live-reload Disables reload/refresh the page(s) when file changes are detected (enabled by default) @@ -174,9 +172,9 @@ Options: --server-options-ca Path to an SSL CA certificate or content of an SSL CA certificate. --server-options-ca-reset Clear all items provided in 'server.options.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-cacert Path to an SSL CA certificate or content of an SSL CA certificate. + --server-options-cacert Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option. --server-options-cacert-reset Clear all items provided in 'server.options.cacert' configuration. Path to an SSL CA certificate or - content of an SSL CA certificate. + content of an SSL CA certificate. Deprecated, use the `server.options.ca` option. --server-options-cert Path to an SSL certificate or content of an SSL certificate. --server-options-cert-reset Clear all items provided in 'server.options.cert' configuration. Path to an SSL certificate or content of an SSL certificate. diff --git a/bin/cli-flags.js b/bin/cli-flags.js index 8cde80e212..8624d66266 100644 --- a/bin/cli-flags.js +++ b/bin/cli-flags.js @@ -447,12 +447,12 @@ module.exports = { type: "boolean", multiple: false, description: - "Allows to serve over HTTP/2 using SPDY. Deprecated, it will be removed in favor of the `server` option.", + "Allows to serve over HTTP/2 using SPDY. Deprecated, use the `server` option.", path: "http2", }, ], description: - "Allows to serve over HTTP/2 using SPDY. Deprecated, it will be removed in favor of the `server` option.", + "Allows to serve over HTTP/2 using SPDY. Deprecated, use the `server` option.", negatedDescription: "Does not serve over HTTP/2 using SPDY.", simpleType: "boolean", multiple: false, @@ -463,12 +463,12 @@ module.exports = { type: "boolean", multiple: false, description: - "Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the `server` option.", + "Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the `server` option.", path: "https", }, ], description: - "Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the `server` option.", + "Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the `server` option.", negatedDescription: "Disallows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).", simpleType: "boolean", @@ -480,12 +480,12 @@ module.exports = { type: "string", multiple: false, description: - "Passphrase for a pfx file. Deprecated, it will be removed in favor of the `server.options.passphrase` option.", + "Passphrase for a pfx file. Deprecated, use the `server.options.passphrase` option.", path: "https.passphrase", }, ], description: - "Passphrase for a pfx file. Deprecated, it will be removed in favor of the `server.options.passphrase` option.", + "Passphrase for a pfx file. Deprecated, use the `server.options.passphrase` option.", simpleType: "string", multiple: false, }, @@ -495,12 +495,12 @@ module.exports = { type: "boolean", multiple: false, description: - "Request for an SSL certificate. Deprecated, it will be removed in favor of the `server.options.requestCert` option.", + "Request for an SSL certificate. Deprecated, use the `server.options.requestCert` option.", path: "https.requestCert", }, ], description: - "Request for an SSL certificate. Deprecated, it will be removed in favor of the `server.options.requestCert` option.", + "Request for an SSL certificate. Deprecated, use the `server.options.requestCert` option.", negatedDescription: "Does not request for an SSL certificate.", simpleType: "boolean", multiple: false, @@ -511,12 +511,12 @@ module.exports = { type: "string", multiple: true, description: - "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the `server.options.ca` option.", + "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.", path: "https.ca[]", }, ], description: - "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the `server.options.ca` option.", + "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.", simpleType: "string", multiple: true, }, @@ -524,14 +524,14 @@ module.exports = { configs: [ { description: - "Clear all items provided in 'https.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the `server.options.ca` option.", + "Clear all items provided in 'https.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.", multiple: false, path: "https.ca", type: "reset", }, ], description: - "Clear all items provided in 'https.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the `server.options.ca` option.", + "Clear all items provided in 'https.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.", multiple: false, simpleType: "boolean", }, @@ -541,12 +541,12 @@ module.exports = { type: "string", multiple: true, description: - "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the `server.options.cacert` option.", + "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.", path: "https.cacert[]", }, ], description: - "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the `server.options.cacert` option.", + "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.", simpleType: "string", multiple: true, }, @@ -554,14 +554,14 @@ module.exports = { configs: [ { description: - "Clear all items provided in 'https.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the `server.options.cacert` option.", + "Clear all items provided in 'https.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.", multiple: false, path: "https.cacert", type: "reset", }, ], description: - "Clear all items provided in 'https.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the `server.options.cacert` option.", + "Clear all items provided in 'https.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.", multiple: false, simpleType: "boolean", }, @@ -571,12 +571,12 @@ module.exports = { type: "string", multiple: true, description: - "Path to an SSL key or content of an SSL key. Deprecated, it will be removed in favor of the `server.options.key` option.", + "Path to an SSL key or content of an SSL key. Deprecated, use the `server.options.key` option.", path: "https.key[]", }, ], description: - "Path to an SSL key or content of an SSL key. Deprecated, it will be removed in favor of the `server.options.key` option.", + "Path to an SSL key or content of an SSL key. Deprecated, use the `server.options.key` option.", simpleType: "string", multiple: true, }, @@ -584,14 +584,14 @@ module.exports = { configs: [ { description: - "Clear all items provided in 'https.key' configuration. Path to an SSL key or content of an SSL key. Deprecated, it will be removed in favor of the `server.options.key` option.", + "Clear all items provided in 'https.key' configuration. Path to an SSL key or content of an SSL key. Deprecated, use the `server.options.key` option.", multiple: false, path: "https.key", type: "reset", }, ], description: - "Clear all items provided in 'https.key' configuration. Path to an SSL key or content of an SSL key. Deprecated, it will be removed in favor of the `server.options.key` option.", + "Clear all items provided in 'https.key' configuration. Path to an SSL key or content of an SSL key. Deprecated, use the `server.options.key` option.", multiple: false, simpleType: "boolean", }, @@ -601,12 +601,12 @@ module.exports = { type: "string", multiple: true, description: - "Path to an SSL pfx file or content of an SSL pfx file. Deprecated, it will be removed in favor of the `server.options.pfx` option.", + "Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the `server.options.pfx` option.", path: "https.pfx[]", }, ], description: - "Path to an SSL pfx file or content of an SSL pfx file. Deprecated, it will be removed in favor of the `server.options.pfx` option.", + "Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the `server.options.pfx` option.", simpleType: "string", multiple: true, }, @@ -614,14 +614,14 @@ module.exports = { configs: [ { description: - "Clear all items provided in 'https.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. Deprecated, it will be removed in favor of the `server.options.pfx` option.", + "Clear all items provided in 'https.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the `server.options.pfx` option.", multiple: false, path: "https.pfx", type: "reset", }, ], description: - "Clear all items provided in 'https.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. Deprecated, it will be removed in favor of the `server.options.pfx` option.", + "Clear all items provided in 'https.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the `server.options.pfx` option.", multiple: false, simpleType: "boolean", }, @@ -631,12 +631,12 @@ module.exports = { type: "string", multiple: true, description: - "Path to an SSL certificate or content of an SSL certificate. Deprecated, it will be removed in favor of the `server.options.cert` option.", + "Path to an SSL certificate or content of an SSL certificate. Deprecated, use the `server.options.cert` option.", path: "https.cert[]", }, ], description: - "Path to an SSL certificate or content of an SSL certificate. Deprecated, it will be removed in favor of the `server.options.cert` option.", + "Path to an SSL certificate or content of an SSL certificate. Deprecated, use the `server.options.cert` option.", simpleType: "string", multiple: true, }, @@ -644,14 +644,14 @@ module.exports = { configs: [ { description: - "Clear all items provided in 'https.cert' configuration. Path to an SSL certificate or content of an SSL certificate. Deprecated, it will be removed in favor of the `server.options.cert` option.", + "Clear all items provided in 'https.cert' configuration. Path to an SSL certificate or content of an SSL certificate. Deprecated, use the `server.options.cert` option.", multiple: false, path: "https.cert", type: "reset", }, ], description: - "Clear all items provided in 'https.cert' configuration. Path to an SSL certificate or content of an SSL certificate. Deprecated, it will be removed in favor of the `server.options.cert` option.", + "Clear all items provided in 'https.cert' configuration. Path to an SSL certificate or content of an SSL certificate. Deprecated, use the `server.options.cert` option.", multiple: false, simpleType: "boolean", }, @@ -659,14 +659,14 @@ module.exports = { configs: [ { description: - "Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, it will be removed in favor of the `server.options.crl` option.", + "Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, use the `server.options.crl` option.", multiple: true, path: "https.crl[]", type: "string", }, ], description: - "Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, it will be removed in favor of the `server.options.crl` option.", + "Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, use the `server.options.crl` option.", multiple: true, simpleType: "string", }, @@ -674,14 +674,14 @@ module.exports = { configs: [ { description: - "Clear all items provided in 'https.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, it will be removed in favor of the `server.options.crl` option.", + "Clear all items provided in 'https.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, use the `server.options.crl` option.", multiple: false, path: "https.crl", type: "reset", }, ], description: - "Clear all items provided in 'https.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, it will be removed in favor of the `server.options.crl` option.", + "Clear all items provided in 'https.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, use the `server.options.crl` option.", multiple: false, simpleType: "boolean", }, @@ -919,14 +919,14 @@ module.exports = { configs: [ { description: - "Path to an SSL CA certificate or content of an SSL CA certificate.", + "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.", multiple: true, path: "server.options.cacert[]", type: "string", }, ], description: - "Path to an SSL CA certificate or content of an SSL CA certificate.", + "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.", multiple: true, simpleType: "string", }, @@ -934,14 +934,14 @@ module.exports = { configs: [ { description: - "Clear all items provided in 'server.options.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate.", + "Clear all items provided in 'server.options.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.", multiple: false, path: "server.options.cacert", type: "reset", }, ], description: - "Clear all items provided in 'server.options.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate.", + "Clear all items provided in 'server.options.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.", multiple: false, simpleType: "boolean", }, diff --git a/lib/options.json b/lib/options.json index 61c91a3642..5045104c08 100644 --- a/lib/options.json +++ b/lib/options.json @@ -207,7 +207,7 @@ }, "HTTP2": { "type": "boolean", - "description": "Allows to serve over HTTP/2 using SPDY. Deprecated, it will be removed in favor of the `server` option.", + "description": "Allows to serve over HTTP/2 using SPDY. Deprecated, use the `server` option.", "link": "https://webpack.js.org/configuration/dev-server/#devserverhttp2" }, "HTTPS": { @@ -221,11 +221,11 @@ "properties": { "passphrase": { "type": "string", - "description": "Passphrase for a pfx file. Deprecated, it will be removed in favor of the `server.options.passphrase` option." + "description": "Passphrase for a pfx file. Deprecated, use the `server.options.passphrase` option." }, "requestCert": { "type": "boolean", - "description": "Request for an SSL certificate. Deprecated, it will be removed in favor of the `server.options.requestCert` option." + "description": "Request for an SSL certificate. Deprecated, use the `server.options.requestCert` option." }, "ca": { "anyOf": [ @@ -249,7 +249,7 @@ "instanceof": "Buffer" } ], - "description": "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the `server.options.ca` option." + "description": "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option." }, "cacert": { "anyOf": [ @@ -273,7 +273,7 @@ "instanceof": "Buffer" } ], - "description": "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the `server.options.cacert` option." + "description": "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option." }, "cert": { "anyOf": [ @@ -297,7 +297,7 @@ "instanceof": "Buffer" } ], - "description": "Path to an SSL certificate or content of an SSL certificate. Deprecated, it will be removed in favor of the `server.options.cert` option." + "description": "Path to an SSL certificate or content of an SSL certificate. Deprecated, use the `server.options.cert` option." }, "crl": { "anyOf": [ @@ -321,7 +321,7 @@ "instanceof": "Buffer" } ], - "description": "Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, it will be removed in favor of the `server.options.crl` option." + "description": "Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, use the `server.options.crl` option." }, "key": { "anyOf": [ @@ -349,7 +349,7 @@ "instanceof": "Buffer" } ], - "description": "Path to an SSL key or content of an SSL key. Deprecated, it will be removed in favor of the `server.options.key` option." + "description": "Path to an SSL key or content of an SSL key. Deprecated, use the `server.options.key` option." }, "pfx": { "anyOf": [ @@ -377,12 +377,12 @@ "instanceof": "Buffer" } ], - "description": "Path to an SSL pfx file or content of an SSL pfx file. Deprecated, it will be removed in favor of the `server.options.pfx` option." + "description": "Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the `server.options.pfx` option." } } } ], - "description": "Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the `server` option.", + "description": "Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the `server` option.", "link": "https://webpack.js.org/configuration/dev-server/#devserverhttps" }, "HeaderObject": { @@ -732,7 +732,7 @@ "instanceof": "Buffer" } ], - "description": "Path to an SSL CA certificate or content of an SSL CA certificate." + "description": "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option." }, "cert": { "anyOf": [ diff --git a/test/__snapshots__/validate-options.test.js.snap.webpack4 b/test/__snapshots__/validate-options.test.js.snap.webpack4 index a82555e3a7..e49a7e1813 100644 --- a/test/__snapshots__/validate-options.test.js.snap.webpack4 +++ b/test/__snapshots__/validate-options.test.js.snap.webpack4 @@ -348,7 +348,7 @@ exports[`options validate should throw an error on the "hot" option with 'foo' v exports[`options validate should throw an error on the "http2" option with '' value 1`] = ` "ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options.http2 should be a boolean. - -> Allows to serve over HTTP/2 using SPDY. Deprecated, it will be removed in favor of the \`server\` option. + -> Allows to serve over HTTP/2 using SPDY. Deprecated, use the \`server\` option. -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttp2" `; @@ -356,7 +356,7 @@ exports[`options validate should throw an error on the "https" option with '' va "ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options.https should be one of these: boolean | object { passphrase?, requestCert?, ca?, cacert?, cert?, crl?, key?, pfx?, … } - -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option. + -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the \`server\` option. -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps Details: * options.https should be a boolean. @@ -368,12 +368,12 @@ exports[`options validate should throw an error on the "https" option with '{"ca "ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options.https should be one of these: boolean | object { passphrase?, requestCert?, ca?, cacert?, cert?, crl?, key?, pfx?, … } - -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option. + -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the \`server\` option. -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps Details: * options.https.cacert should be one of these: [string | Buffer, ...] | string | Buffer - -> Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the \`server.options.cacert\` option. + -> Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option. Details: * options.https.cacert should be an array: [string | Buffer, ...] @@ -385,12 +385,12 @@ exports[`options validate should throw an error on the "https" option with '{"ce "ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options.https should be one of these: boolean | object { passphrase?, requestCert?, ca?, cacert?, cert?, crl?, key?, pfx?, … } - -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option. + -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the \`server\` option. -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps Details: * options.https.cert should be one of these: [string | Buffer, ...] | string | Buffer - -> Path to an SSL certificate or content of an SSL certificate. Deprecated, it will be removed in favor of the \`server.options.cert\` option. + -> Path to an SSL certificate or content of an SSL certificate. Deprecated, use the \`server.options.cert\` option. Details: * options.https.cert should be an array: [string | Buffer, ...] @@ -402,12 +402,12 @@ exports[`options validate should throw an error on the "https" option with '{"ke "ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options.https should be one of these: boolean | object { passphrase?, requestCert?, ca?, cacert?, cert?, crl?, key?, pfx?, … } - -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option. + -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the \`server\` option. -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps Details: * options.https.key should be one of these: [string | Buffer | object { … }, ...] | string | Buffer - -> Path to an SSL key or content of an SSL key. Deprecated, it will be removed in favor of the \`server.options.key\` option. + -> Path to an SSL key or content of an SSL key. Deprecated, use the \`server.options.key\` option. Details: * options.https.key should be an array: [string | Buffer | object { … }, ...] @@ -418,19 +418,19 @@ exports[`options validate should throw an error on the "https" option with '{"ke exports[`options validate should throw an error on the "https" option with '{"passphrase":false}' value 1`] = ` "ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options.https.passphrase should be a string. - -> Passphrase for a pfx file. Deprecated, it will be removed in favor of the \`server.options.passphrase\` option." + -> Passphrase for a pfx file. Deprecated, use the \`server.options.passphrase\` option." `; exports[`options validate should throw an error on the "https" option with '{"pfx":10}' value 1`] = ` "ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options.https should be one of these: boolean | object { passphrase?, requestCert?, ca?, cacert?, cert?, crl?, key?, pfx?, … } - -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option. + -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the \`server\` option. -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps Details: * options.https.pfx should be one of these: [string | Buffer | object { … }, ...] | string | Buffer - -> Path to an SSL pfx file or content of an SSL pfx file. Deprecated, it will be removed in favor of the \`server.options.pfx\` option. + -> Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the \`server.options.pfx\` option. Details: * options.https.pfx should be an array: [string | Buffer | object { … }, ...] @@ -441,7 +441,7 @@ exports[`options validate should throw an error on the "https" option with '{"pf exports[`options validate should throw an error on the "https" option with '{"requestCert":"test"}' value 1`] = ` "ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options.https.requestCert should be a boolean. - -> Request for an SSL certificate. Deprecated, it will be removed in favor of the \`server.options.requestCert\` option." + -> Request for an SSL certificate. Deprecated, use the \`server.options.requestCert\` option." `; exports[`options validate should throw an error on the "ipc" option with '{}' value 1`] = ` @@ -642,7 +642,7 @@ exports[`options validate should throw an error on the "server" option with '{"t Details: * options.server.options.cacert should be one of these: [string | Buffer, ...] | string | Buffer - -> Path to an SSL CA certificate or content of an SSL CA certificate. + -> Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option. Details: * options.server.options.cacert should be an array: [string | Buffer, ...] diff --git a/test/__snapshots__/validate-options.test.js.snap.webpack5 b/test/__snapshots__/validate-options.test.js.snap.webpack5 index a82555e3a7..e49a7e1813 100644 --- a/test/__snapshots__/validate-options.test.js.snap.webpack5 +++ b/test/__snapshots__/validate-options.test.js.snap.webpack5 @@ -348,7 +348,7 @@ exports[`options validate should throw an error on the "hot" option with 'foo' v exports[`options validate should throw an error on the "http2" option with '' value 1`] = ` "ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options.http2 should be a boolean. - -> Allows to serve over HTTP/2 using SPDY. Deprecated, it will be removed in favor of the \`server\` option. + -> Allows to serve over HTTP/2 using SPDY. Deprecated, use the \`server\` option. -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttp2" `; @@ -356,7 +356,7 @@ exports[`options validate should throw an error on the "https" option with '' va "ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options.https should be one of these: boolean | object { passphrase?, requestCert?, ca?, cacert?, cert?, crl?, key?, pfx?, … } - -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option. + -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the \`server\` option. -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps Details: * options.https should be a boolean. @@ -368,12 +368,12 @@ exports[`options validate should throw an error on the "https" option with '{"ca "ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options.https should be one of these: boolean | object { passphrase?, requestCert?, ca?, cacert?, cert?, crl?, key?, pfx?, … } - -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option. + -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the \`server\` option. -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps Details: * options.https.cacert should be one of these: [string | Buffer, ...] | string | Buffer - -> Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the \`server.options.cacert\` option. + -> Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option. Details: * options.https.cacert should be an array: [string | Buffer, ...] @@ -385,12 +385,12 @@ exports[`options validate should throw an error on the "https" option with '{"ce "ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options.https should be one of these: boolean | object { passphrase?, requestCert?, ca?, cacert?, cert?, crl?, key?, pfx?, … } - -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option. + -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the \`server\` option. -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps Details: * options.https.cert should be one of these: [string | Buffer, ...] | string | Buffer - -> Path to an SSL certificate or content of an SSL certificate. Deprecated, it will be removed in favor of the \`server.options.cert\` option. + -> Path to an SSL certificate or content of an SSL certificate. Deprecated, use the \`server.options.cert\` option. Details: * options.https.cert should be an array: [string | Buffer, ...] @@ -402,12 +402,12 @@ exports[`options validate should throw an error on the "https" option with '{"ke "ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options.https should be one of these: boolean | object { passphrase?, requestCert?, ca?, cacert?, cert?, crl?, key?, pfx?, … } - -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option. + -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the \`server\` option. -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps Details: * options.https.key should be one of these: [string | Buffer | object { … }, ...] | string | Buffer - -> Path to an SSL key or content of an SSL key. Deprecated, it will be removed in favor of the \`server.options.key\` option. + -> Path to an SSL key or content of an SSL key. Deprecated, use the \`server.options.key\` option. Details: * options.https.key should be an array: [string | Buffer | object { … }, ...] @@ -418,19 +418,19 @@ exports[`options validate should throw an error on the "https" option with '{"ke exports[`options validate should throw an error on the "https" option with '{"passphrase":false}' value 1`] = ` "ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options.https.passphrase should be a string. - -> Passphrase for a pfx file. Deprecated, it will be removed in favor of the \`server.options.passphrase\` option." + -> Passphrase for a pfx file. Deprecated, use the \`server.options.passphrase\` option." `; exports[`options validate should throw an error on the "https" option with '{"pfx":10}' value 1`] = ` "ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options.https should be one of these: boolean | object { passphrase?, requestCert?, ca?, cacert?, cert?, crl?, key?, pfx?, … } - -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option. + -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the \`server\` option. -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps Details: * options.https.pfx should be one of these: [string | Buffer | object { … }, ...] | string | Buffer - -> Path to an SSL pfx file or content of an SSL pfx file. Deprecated, it will be removed in favor of the \`server.options.pfx\` option. + -> Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the \`server.options.pfx\` option. Details: * options.https.pfx should be an array: [string | Buffer | object { … }, ...] @@ -441,7 +441,7 @@ exports[`options validate should throw an error on the "https" option with '{"pf exports[`options validate should throw an error on the "https" option with '{"requestCert":"test"}' value 1`] = ` "ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options.https.requestCert should be a boolean. - -> Request for an SSL certificate. Deprecated, it will be removed in favor of the \`server.options.requestCert\` option." + -> Request for an SSL certificate. Deprecated, use the \`server.options.requestCert\` option." `; exports[`options validate should throw an error on the "ipc" option with '{}' value 1`] = ` @@ -642,7 +642,7 @@ exports[`options validate should throw an error on the "server" option with '{"t Details: * options.server.options.cacert should be one of these: [string | Buffer, ...] | string | Buffer - -> Path to an SSL CA certificate or content of an SSL CA certificate. + -> Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option. Details: * options.server.options.cacert should be an array: [string | Buffer, ...] diff --git a/test/cli/__snapshots__/basic.test.js.snap.webpack4 b/test/cli/__snapshots__/basic.test.js.snap.webpack4 index 75f870515d..94cbe836fd 100644 --- a/test/cli/__snapshots__/basic.test.js.snap.webpack4 +++ b/test/cli/__snapshots__/basic.test.js.snap.webpack4 @@ -88,25 +88,25 @@ Options: --host Allows to specify a hostname to use. --hot [value] Enables Hot Module Replacement. --no-hot Disables Hot Module Replacement. - --http2 Allows to serve over HTTP/2 using SPDY. Deprecated, it will be removed in favor of the \`server\` option. + --http2 Allows to serve over HTTP/2 using SPDY. Deprecated, use the \`server\` option. --no-http2 Does not serve over HTTP/2 using SPDY. - --https Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option. + --https Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the \`server\` option. --no-https Disallows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). - --https-passphrase Passphrase for a pfx file. Deprecated, it will be removed in favor of the \`server.options.passphrase\` option. - --https-request-cert Request for an SSL certificate. Deprecated, it will be removed in favor of the \`server.options.requestCert\` option. + --https-passphrase Passphrase for a pfx file. Deprecated, use the \`server.options.passphrase\` option. + --https-request-cert Request for an SSL certificate. Deprecated, use the \`server.options.requestCert\` option. --no-https-request-cert Does not request for an SSL certificate. - --https-ca Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the \`server.options.ca\` option. - --https-ca-reset Clear all items provided in 'https.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the \`server.options.ca\` option. - --https-cacert Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the \`server.options.cacert\` option. - --https-cacert-reset Clear all items provided in 'https.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the \`server.options.cacert\` option. - --https-key Path to an SSL key or content of an SSL key. Deprecated, it will be removed in favor of the \`server.options.key\` option. - --https-key-reset Clear all items provided in 'https.key' configuration. Path to an SSL key or content of an SSL key. Deprecated, it will be removed in favor of the \`server.options.key\` option. - --https-pfx Path to an SSL pfx file or content of an SSL pfx file. Deprecated, it will be removed in favor of the \`server.options.pfx\` option. - --https-pfx-reset Clear all items provided in 'https.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. Deprecated, it will be removed in favor of the \`server.options.pfx\` option. - --https-cert Path to an SSL certificate or content of an SSL certificate. Deprecated, it will be removed in favor of the \`server.options.cert\` option. - --https-cert-reset Clear all items provided in 'https.cert' configuration. Path to an SSL certificate or content of an SSL certificate. Deprecated, it will be removed in favor of the \`server.options.cert\` option. - --https-crl Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, it will be removed in favor of the \`server.options.crl\` option. - --https-crl-reset Clear all items provided in 'https.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, it will be removed in favor of the \`server.options.crl\` option. + --https-ca Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option. + --https-ca-reset Clear all items provided in 'https.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option. + --https-cacert Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option. + --https-cacert-reset Clear all items provided in 'https.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option. + --https-key Path to an SSL key or content of an SSL key. Deprecated, use the \`server.options.key\` option. + --https-key-reset Clear all items provided in 'https.key' configuration. Path to an SSL key or content of an SSL key. Deprecated, use the \`server.options.key\` option. + --https-pfx Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the \`server.options.pfx\` option. + --https-pfx-reset Clear all items provided in 'https.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the \`server.options.pfx\` option. + --https-cert Path to an SSL certificate or content of an SSL certificate. Deprecated, use the \`server.options.cert\` option. + --https-cert-reset Clear all items provided in 'https.cert' configuration. Path to an SSL certificate or content of an SSL certificate. Deprecated, use the \`server.options.cert\` option. + --https-crl Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, use the \`server.options.crl\` option. + --https-crl-reset Clear all items provided in 'https.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, use the \`server.options.crl\` option. --ipc [value] Listen to a unix socket. --live-reload Enables reload/refresh the page(s) when file changes are detected (enabled by default). --no-live-reload Disables reload/refresh the page(s) when file changes are detected (enabled by default) @@ -123,8 +123,8 @@ Options: --port Allows to specify a port to use. --server-options-ca Path to an SSL CA certificate or content of an SSL CA certificate. --server-options-ca-reset Clear all items provided in 'server.options.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-cacert Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-cacert-reset Clear all items provided in 'server.options.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. + --server-options-cacert Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option. + --server-options-cacert-reset Clear all items provided in 'server.options.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option. --server-options-cert Path to an SSL certificate or content of an SSL certificate. --server-options-cert-reset Clear all items provided in 'server.options.cert' configuration. Path to an SSL certificate or content of an SSL certificate. --server-options-crl Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). diff --git a/test/cli/__snapshots__/basic.test.js.snap.webpack5 b/test/cli/__snapshots__/basic.test.js.snap.webpack5 index bb11c322eb..b0520b7c07 100644 --- a/test/cli/__snapshots__/basic.test.js.snap.webpack5 +++ b/test/cli/__snapshots__/basic.test.js.snap.webpack5 @@ -86,25 +86,25 @@ Options: --host Allows to specify a hostname to use. --hot [value] Enables Hot Module Replacement. --no-hot Negative 'hot' option. - --http2 Allows to serve over HTTP/2 using SPDY. Deprecated, it will be removed in favor of the \`server\` option. + --http2 Allows to serve over HTTP/2 using SPDY. Deprecated, use the \`server\` option. --no-http2 Negative 'http2' option. - --https Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option. + --https Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the \`server\` option. --no-https Negative 'https' option. - --https-passphrase Passphrase for a pfx file. Deprecated, it will be removed in favor of the \`server.options.passphrase\` option. - --https-request-cert Request for an SSL certificate. Deprecated, it will be removed in favor of the \`server.options.requestCert\` option. + --https-passphrase Passphrase for a pfx file. Deprecated, use the \`server.options.passphrase\` option. + --https-request-cert Request for an SSL certificate. Deprecated, use the \`server.options.requestCert\` option. --no-https-request-cert Negative 'https-request-cert' option. - --https-ca Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the \`server.options.ca\` option. - --https-ca-reset Clear all items provided in 'https.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the \`server.options.ca\` option. - --https-cacert Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the \`server.options.cacert\` option. - --https-cacert-reset Clear all items provided in 'https.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the \`server.options.cacert\` option. - --https-cert Path to an SSL certificate or content of an SSL certificate. Deprecated, it will be removed in favor of the \`server.options.cert\` option. - --https-cert-reset Clear all items provided in 'https.cert' configuration. Path to an SSL certificate or content of an SSL certificate. Deprecated, it will be removed in favor of the \`server.options.cert\` option. - --https-crl Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, it will be removed in favor of the \`server.options.crl\` option. - --https-crl-reset Clear all items provided in 'https.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, it will be removed in favor of the \`server.options.crl\` option. - --https-key Path to an SSL key or content of an SSL key. Deprecated, it will be removed in favor of the \`server.options.key\` option. - --https-key-reset Clear all items provided in 'https.key' configuration. Path to an SSL key or content of an SSL key. Deprecated, it will be removed in favor of the \`server.options.key\` option. - --https-pfx Path to an SSL pfx file or content of an SSL pfx file. Deprecated, it will be removed in favor of the \`server.options.pfx\` option. - --https-pfx-reset Clear all items provided in 'https.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. Deprecated, it will be removed in favor of the \`server.options.pfx\` option. + --https-ca Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option. + --https-ca-reset Clear all items provided in 'https.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option. + --https-cacert Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option. + --https-cacert-reset Clear all items provided in 'https.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option. + --https-cert Path to an SSL certificate or content of an SSL certificate. Deprecated, use the \`server.options.cert\` option. + --https-cert-reset Clear all items provided in 'https.cert' configuration. Path to an SSL certificate or content of an SSL certificate. Deprecated, use the \`server.options.cert\` option. + --https-crl Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, use the \`server.options.crl\` option. + --https-crl-reset Clear all items provided in 'https.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, use the \`server.options.crl\` option. + --https-key Path to an SSL key or content of an SSL key. Deprecated, use the \`server.options.key\` option. + --https-key-reset Clear all items provided in 'https.key' configuration. Path to an SSL key or content of an SSL key. Deprecated, use the \`server.options.key\` option. + --https-pfx Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the \`server.options.pfx\` option. + --https-pfx-reset Clear all items provided in 'https.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the \`server.options.pfx\` option. --ipc [value] Listen to a unix socket. --live-reload Enables reload/refresh the page(s) when file changes are detected (enabled by default). --no-live-reload Negative 'live-reload' option. @@ -125,8 +125,8 @@ Options: --no-server-options-request-cert Negative 'server-options-request-cert' option. --server-options-ca Path to an SSL CA certificate or content of an SSL CA certificate. --server-options-ca-reset Clear all items provided in 'server.options.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-cacert Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-cacert-reset Clear all items provided in 'server.options.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. + --server-options-cacert Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option. + --server-options-cacert-reset Clear all items provided in 'server.options.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option. --server-options-cert Path to an SSL certificate or content of an SSL certificate. --server-options-cert-reset Clear all items provided in 'server.options.cert' configuration. Path to an SSL certificate or content of an SSL certificate. --server-options-crl Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists).