From 30054fd2c73129d79473989afe6d25741001b49e Mon Sep 17 00:00:00 2001 From: Sebastian Beltran Date: Fri, 23 Jan 2026 10:00:34 -0500 Subject: [PATCH 1/4] feat: remove deprecated CLI flags for HTTP/2, HTTPS, and web socket server options --- bin/cli-flags.js | 321 --------------------------------------- types/bin/cli-flags.d.ts | 243 ----------------------------- 2 files changed, 564 deletions(-) diff --git a/bin/cli-flags.js b/bin/cli-flags.js index a4549786fe..5a172a87d0 100644 --- a/bin/cli-flags.js +++ b/bin/cli-flags.js @@ -425,250 +425,6 @@ module.exports = { simpleType: "string", multiple: false, }, - http2: { - configs: [ - { - type: "boolean", - multiple: false, - description: - "Allows to serve over HTTP/2 using SPDY. Deprecated, use the `server` option.", - negatedDescription: "Does not serve over HTTP/2 using SPDY.", - path: "http2", - }, - ], - description: - "Allows to serve over HTTP/2 using SPDY. Deprecated, use the `server` option.", - simpleType: "boolean", - multiple: false, - }, - https: { - configs: [ - { - 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, use the `server` option.", - negatedDescription: - "Disallows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).", - path: "https", - }, - ], - 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.", - simpleType: "boolean", - multiple: false, - }, - "https-ca": { - configs: [ - { - type: "string", - multiple: true, - description: - "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, use the `server.options.ca` option.", - simpleType: "string", - multiple: true, - }, - "https-ca-reset": { - configs: [ - { - description: - "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, use the `server.options.ca` option.", - multiple: false, - simpleType: "boolean", - }, - "https-cacert": { - configs: [ - { - type: "string", - multiple: true, - description: - "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, use the `server.options.ca` option.", - simpleType: "string", - multiple: true, - }, - "https-cacert-reset": { - configs: [ - { - description: - "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, use the `server.options.ca` option.", - multiple: false, - simpleType: "boolean", - }, - "https-cert": { - configs: [ - { - type: "string", - multiple: true, - description: - "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, use the `server.options.cert` option.", - simpleType: "string", - multiple: true, - }, - "https-cert-reset": { - configs: [ - { - description: - "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, use the `server.options.cert` option.", - multiple: false, - simpleType: "boolean", - }, - "https-crl": { - configs: [ - { - 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.", - 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, use the `server.options.crl` option.", - multiple: true, - simpleType: "string", - }, - "https-crl-reset": { - 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, 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, use the `server.options.crl` option.", - multiple: false, - simpleType: "boolean", - }, - "https-key": { - configs: [ - { - type: "string", - multiple: true, - description: - "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, use the `server.options.key` option.", - simpleType: "string", - multiple: true, - }, - "https-key-reset": { - configs: [ - { - description: - "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, use the `server.options.key` option.", - multiple: false, - simpleType: "boolean", - }, - "https-passphrase": { - configs: [ - { - type: "string", - multiple: false, - description: - "Passphrase for a pfx file. Deprecated, use the `server.options.passphrase` option.", - path: "https.passphrase", - }, - ], - description: - "Passphrase for a pfx file. Deprecated, use the `server.options.passphrase` option.", - simpleType: "string", - multiple: false, - }, - "https-pfx": { - configs: [ - { - type: "string", - multiple: true, - description: - "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, use the `server.options.pfx` option.", - simpleType: "string", - multiple: true, - }, - "https-pfx-reset": { - configs: [ - { - description: - "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, use the `server.options.pfx` option.", - multiple: false, - simpleType: "boolean", - }, - "https-request-cert": { - configs: [ - { - type: "boolean", - multiple: false, - description: - "Request for an SSL certificate. Deprecated, use the `server.options.requestCert` option.", - negatedDescription: "Does not request for an SSL certificate.", - path: "https.requestCert", - }, - ], - description: - "Request for an SSL certificate. Deprecated, use the `server.options.requestCert` option.", - simpleType: "boolean", - multiple: false, - }, ipc: { configs: [ { @@ -746,21 +502,6 @@ module.exports = { simpleType: "string", multiple: true, }, - "open-app": { - configs: [ - { - type: "string", - multiple: true, - description: - "Open specified browser. Deprecated: please use '--open-app-name'.", - path: "open[].app", - }, - ], - description: - "Open specified browser. Deprecated: please use '--open-app-name'.", - simpleType: "string", - multiple: true, - }, "open-app-name": { configs: [ { @@ -900,36 +641,6 @@ module.exports = { multiple: false, simpleType: "boolean", }, - "server-options-cacert": { - configs: [ - { - description: - "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. Deprecated, use the `server.options.ca` option.", - multiple: true, - simpleType: "string", - }, - "server-options-cacert-reset": { - configs: [ - { - description: - "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. Deprecated, use the `server.options.ca` option.", - multiple: false, - simpleType: "boolean", - }, "server-options-cert": { configs: [ { @@ -1236,38 +947,6 @@ module.exports = { simpleType: "boolean", multiple: false, }, - "web-socket-server": { - configs: [ - { - description: - "Deprecated: please use '--web-socket-server-type' option.", - negatedDescription: "Disallows to set web socket server and options.", - multiple: false, - path: "webSocketServer", - type: "enum", - values: [false], - }, - { - description: - "Deprecated: please use '--web-socket-server-type' option.", - multiple: false, - path: "webSocketServer", - type: "enum", - values: ["ws"], - }, - { - description: - "Allows to set web socket server and options (by default 'ws').", - multiple: false, - path: "webSocketServer", - type: "string", - }, - ], - description: - "Deprecated: please use '--web-socket-server-type' option. Allows to set web socket server and options (by default 'ws').", - simpleType: "string", - multiple: false, - }, "web-socket-server-type": { configs: [ { diff --git a/types/bin/cli-flags.d.ts b/types/bin/cli-flags.d.ts index 4c50ae6e5a..30f7f8db5f 100644 --- a/types/bin/cli-flags.d.ts +++ b/types/bin/cli-flags.d.ts @@ -336,185 +336,6 @@ declare const _exports: { simpleType: string; multiple: boolean; }; - http2: { - configs: { - type: string; - multiple: boolean; - description: string; - negatedDescription: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - https: { - configs: { - type: string; - multiple: boolean; - description: string; - negatedDescription: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "https-ca": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "https-ca-reset": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "https-cacert": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "https-cacert-reset": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "https-cert": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "https-cert-reset": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "https-crl": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "https-crl-reset": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "https-key": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "https-key-reset": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "https-passphrase": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "https-pfx": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "https-pfx-reset": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "https-request-cert": { - configs: { - type: string; - multiple: boolean; - description: string; - negatedDescription: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; ipc: { configs: ( | { @@ -581,17 +402,6 @@ declare const _exports: { simpleType: string; multiple: boolean; }; - "open-app": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; "open-app-name": { configs: { type: string; @@ -690,28 +500,6 @@ declare const _exports: { multiple: boolean; simpleType: string; }; - "server-options-cacert": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "server-options-cacert-reset": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; "server-options-cert": { configs: { description: string; @@ -946,37 +734,6 @@ declare const _exports: { simpleType: string; multiple: boolean; }; - "web-socket-server": { - configs: ( - | { - description: string; - negatedDescription: string; - multiple: boolean; - path: string; - type: string; - values: boolean[]; - } - | { - description: string; - multiple: boolean; - path: string; - type: string; - values: string[]; - negatedDescription?: undefined; - } - | { - description: string; - multiple: boolean; - path: string; - type: string; - negatedDescription?: undefined; - values?: undefined; - } - )[]; - description: string; - simpleType: string; - multiple: boolean; - }; "web-socket-server-type": { configs: ( | { From 230e15a77bd8ac9d66924c940e7821de979f9cf0 Mon Sep 17 00:00:00 2001 From: Sebastian Beltran Date: Sun, 1 Feb 2026 10:45:13 -0500 Subject: [PATCH 2/4] chore: update migration guide to reflect removal of deprecated CLI options --- migration-v6.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/migration-v6.md b/migration-v6.md index e99a494b70..c4b07522ed 100644 --- a/migration-v6.md +++ b/migration-v6.md @@ -51,3 +51,24 @@ This document serves as a migration guide for `webpack-dev-server@6.0.0`. ```js const ip = Server.findIp("v4", true); ``` + +- The following CLI options were deprecated and have now been removed. Please use the recommended alternatives: + - http2 -> server + - https -> server + - https-ca -> server.options.ca + - https-ca-reset -> server.options.ca + - https-cacert -> server.options.ca + - https-cert -> server.options.cert + - https-cert-reset -> server.options.cert + - https-crl -> server.options.crl + - https-crl-reset -> server.options.crl + - https-key -> server.options.key + - https-key-reset -> server.options.key + - https-passphrase -> server.options.passphrase + - https-pfx -> server.options.pfx + - https-pfx-reset -> server.options.pfx + - https-request-cert -> server.options.requestCert + - open-app -> --open-app-name + - server-options-cacert -> server.options.ca + - server-options-cacert-reset -> server.options.ca + - web-socket-server -> web-socket-server-type From 0e7027123bdf89f4eaaa9fddc5de3c584c29d086 Mon Sep 17 00:00:00 2001 From: Sebastian Beltran Date: Sat, 28 Feb 2026 20:00:12 +0000 Subject: [PATCH 3/4] feat: remove cli-flags --- bin/cli-flags.js | 973 ----------------------------------------------- migration-v6.md | 22 +- 2 files changed, 1 insertion(+), 994 deletions(-) delete mode 100644 bin/cli-flags.js diff --git a/bin/cli-flags.js b/bin/cli-flags.js deleted file mode 100644 index 9e20f3b736..0000000000 --- a/bin/cli-flags.js +++ /dev/null @@ -1,973 +0,0 @@ -"use strict"; - -module.exports = { - "allowed-hosts": { - configs: [ - { - type: "string", - multiple: true, - description: - "Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto').", - path: "allowedHosts[]", - }, - { - description: - "Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto').", - multiple: false, - path: "allowedHosts", - type: "enum", - values: ["auto", "all"], - }, - ], - description: - "Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto').", - multiple: true, - simpleType: "string", - }, - "allowed-hosts-reset": { - configs: [ - { - type: "reset", - multiple: false, - description: - "Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto').", - path: "allowedHosts", - }, - ], - description: - "Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto').", - simpleType: "boolean", - multiple: false, - }, - bonjour: { - configs: [ - { - type: "boolean", - multiple: false, - description: - "Allows to broadcasts dev server via ZeroConf networking on start.", - negatedDescription: - "Disallows to broadcasts dev server via ZeroConf networking on start.", - path: "bonjour", - }, - ], - description: - "Allows to broadcasts dev server via ZeroConf networking on start.", - simpleType: "boolean", - multiple: false, - }, - client: { - configs: [ - { - description: - "Allows to specify options for client script in the browser or disable client script.", - negatedDescription: "Disables client script.", - multiple: false, - path: "client", - type: "enum", - values: [false], - }, - ], - description: - "Allows to specify options for client script in the browser or disable client script.", - multiple: false, - simpleType: "boolean", - }, - "client-logging": { - configs: [ - { - type: "enum", - values: ["none", "error", "warn", "info", "log", "verbose"], - multiple: false, - description: "Allows to set log level in the browser.", - path: "client.logging", - }, - ], - description: "Allows to set log level in the browser.", - simpleType: "string", - multiple: false, - }, - "client-overlay": { - configs: [ - { - type: "boolean", - multiple: false, - description: - "Enables a full-screen overlay in the browser when there are compiler errors or warnings.", - negatedDescription: - "Disables the full-screen overlay in the browser when there are compiler errors or warnings.", - path: "client.overlay", - }, - ], - description: - "Enables a full-screen overlay in the browser when there are compiler errors or warnings.", - simpleType: "boolean", - multiple: false, - }, - "client-overlay-errors": { - configs: [ - { - type: "boolean", - multiple: false, - description: - "Enables a full-screen overlay in the browser when there are compiler errors.", - negatedDescription: - "Disables the full-screen overlay in the browser when there are compiler errors.", - path: "client.overlay.errors", - }, - ], - description: - "Enables a full-screen overlay in the browser when there are compiler errors.", - simpleType: "boolean", - multiple: false, - }, - "client-overlay-trusted-types-policy-name": { - configs: [ - { - description: - "The name of a Trusted Types policy for the overlay. Defaults to 'webpack-dev-server#overlay'.", - multiple: false, - path: "client.overlay.trustedTypesPolicyName", - type: "string", - }, - ], - description: - "The name of a Trusted Types policy for the overlay. Defaults to 'webpack-dev-server#overlay'.", - multiple: false, - simpleType: "string", - }, - "client-overlay-warnings": { - configs: [ - { - type: "boolean", - multiple: false, - description: - "Enables a full-screen overlay in the browser when there are compiler warnings.", - negatedDescription: - "Disables the full-screen overlay in the browser when there are compiler warnings.", - path: "client.overlay.warnings", - }, - ], - description: - "Enables a full-screen overlay in the browser when there are compiler warnings.", - simpleType: "boolean", - multiple: false, - }, - "client-overlay-runtime-errors": { - configs: [ - { - type: "boolean", - multiple: false, - description: - "Enables a full-screen overlay in the browser when there are uncaught runtime errors.", - negatedDescription: - "Disables the full-screen overlay in the browser when there are uncaught runtime errors.", - path: "client.overlay.runtimeErrors", - }, - ], - description: - "Enables a full-screen overlay in the browser when there are uncaught runtime errors.", - simpleType: "boolean", - multiple: false, - }, - "client-progress": { - configs: [ - { - type: "boolean", - multiple: false, - description: - "Prints compilation progress in percentage in the browser.", - negatedDescription: - "Does not print compilation progress in percentage in the browser.", - path: "client.progress", - }, - ], - description: "Prints compilation progress in percentage in the browser.", - simpleType: "boolean", - multiple: false, - }, - "client-reconnect": { - configs: [ - { - type: "boolean", - multiple: false, - description: - "Tells dev-server the number of times it should try to reconnect the client.", - negatedDescription: - "Tells dev-server to not to try to reconnect the client.", - path: "client.reconnect", - }, - { - type: "number", - multiple: false, - description: - "Tells dev-server the number of times it should try to reconnect the client.", - path: "client.reconnect", - }, - ], - description: - "Tells dev-server the number of times it should try to reconnect the client.", - simpleType: "string", - multiple: false, - }, - "client-web-socket-transport": { - configs: [ - { - type: "enum", - values: ["ws"], - multiple: false, - description: - "Allows to set custom web socket transport to communicate with dev server.", - path: "client.webSocketTransport", - }, - { - type: "string", - multiple: false, - description: - "Allows to set custom web socket transport to communicate with dev server.", - path: "client.webSocketTransport", - }, - ], - description: - "Allows to set custom web socket transport to communicate with dev server.", - simpleType: "string", - multiple: false, - }, - "client-web-socket-url": { - configs: [ - { - type: "string", - multiple: false, - description: - "Allows to specify URL to web socket server (useful when you're proxying dev server and client script does not always know where to connect to).", - path: "client.webSocketURL", - }, - ], - description: - "Allows to specify URL to web socket server (useful when you're proxying dev server and client script does not always know where to connect to).", - simpleType: "string", - multiple: false, - }, - "client-web-socket-url-hostname": { - configs: [ - { - type: "string", - multiple: false, - description: - "Tells clients connected to devServer to use the provided hostname.", - path: "client.webSocketURL.hostname", - }, - ], - description: - "Tells clients connected to devServer to use the provided hostname.", - simpleType: "string", - multiple: false, - }, - "client-web-socket-url-password": { - configs: [ - { - type: "string", - multiple: false, - description: - "Tells clients connected to devServer to use the provided password to authenticate.", - path: "client.webSocketURL.password", - }, - ], - description: - "Tells clients connected to devServer to use the provided password to authenticate.", - simpleType: "string", - multiple: false, - }, - "client-web-socket-url-pathname": { - configs: [ - { - type: "string", - multiple: false, - description: - "Tells clients connected to devServer to use the provided path to connect.", - path: "client.webSocketURL.pathname", - }, - ], - description: - "Tells clients connected to devServer to use the provided path to connect.", - simpleType: "string", - multiple: false, - }, - "client-web-socket-url-port": { - configs: [ - { - type: "number", - multiple: false, - description: - "Tells clients connected to devServer to use the provided port.", - path: "client.webSocketURL.port", - }, - { - description: - "Tells clients connected to devServer to use the provided port.", - multiple: false, - path: "client.webSocketURL.port", - type: "string", - }, - ], - description: - "Tells clients connected to devServer to use the provided port.", - simpleType: "string", - multiple: false, - }, - "client-web-socket-url-protocol": { - configs: [ - { - description: - "Tells clients connected to devServer to use the provided protocol.", - multiple: false, - path: "client.webSocketURL.protocol", - type: "enum", - values: ["auto"], - }, - { - description: - "Tells clients connected to devServer to use the provided protocol.", - multiple: false, - path: "client.webSocketURL.protocol", - type: "string", - }, - ], - description: - "Tells clients connected to devServer to use the provided protocol.", - multiple: false, - simpleType: "string", - }, - "client-web-socket-url-username": { - configs: [ - { - type: "string", - multiple: false, - description: - "Tells clients connected to devServer to use the provided username to authenticate.", - path: "client.webSocketURL.username", - }, - ], - description: - "Tells clients connected to devServer to use the provided username to authenticate.", - simpleType: "string", - multiple: false, - }, - compress: { - configs: [ - { - type: "boolean", - multiple: false, - description: "Enables gzip compression for everything served.", - negatedDescription: "Disables gzip compression for everything served.", - path: "compress", - }, - ], - description: "Enables gzip compression for everything served.", - simpleType: "boolean", - multiple: false, - }, - "history-api-fallback": { - configs: [ - { - type: "boolean", - multiple: false, - description: - "Allows to proxy requests through a specified index page (by default 'index.html'), useful for Single Page Applications that utilise the HTML5 History API.", - negatedDescription: - "Disallows to proxy requests through a specified index page.", - path: "historyApiFallback", - }, - ], - description: - "Allows to proxy requests through a specified index page (by default 'index.html'), useful for Single Page Applications that utilise the HTML5 History API.", - simpleType: "boolean", - multiple: false, - }, - host: { - configs: [ - { - description: "Allows to specify a hostname to use.", - multiple: false, - path: "host", - type: "enum", - values: ["local-ip", "local-ipv4", "local-ipv6"], - }, - { - description: "Allows to specify a hostname to use.", - multiple: false, - path: "host", - type: "string", - }, - ], - description: "Allows to specify a hostname to use.", - simpleType: "string", - multiple: false, - }, - hot: { - configs: [ - { - type: "boolean", - multiple: false, - description: "Enables Hot Module Replacement.", - negatedDescription: "Disables Hot Module Replacement.", - path: "hot", - }, - { - type: "enum", - values: ["only"], - multiple: false, - description: "Enables Hot Module Replacement.", - path: "hot", - }, - ], - description: "Enables Hot Module Replacement.", - simpleType: "string", - multiple: false, - }, - ipc: { - configs: [ - { - type: "string", - multiple: false, - description: "Listen to a unix socket.", - path: "ipc", - }, - { - type: "enum", - values: [true], - multiple: false, - description: "Listen to a unix socket.", - path: "ipc", - }, - ], - description: "Listen to a unix socket.", - simpleType: "string", - multiple: false, - }, - "live-reload": { - configs: [ - { - type: "boolean", - multiple: false, - description: - "Enables reload/refresh the page(s) when file changes are detected (enabled by default).", - negatedDescription: - "Disables reload/refresh the page(s) when file changes are detected (enabled by default).", - path: "liveReload", - }, - ], - description: - "Enables reload/refresh the page(s) when file changes are detected (enabled by default).", - simpleType: "boolean", - multiple: false, - }, - "magic-html": { - configs: [ - { - type: "boolean", - multiple: false, - description: - "Tells dev-server whether to enable magic HTML routes (routes corresponding to your webpack output, for example '/main' for 'main.js').", - negatedDescription: - "Disables magic HTML routes (routes corresponding to your webpack output, for example '/main' for 'main.js').", - path: "magicHtml", - }, - ], - description: - "Tells dev-server whether to enable magic HTML routes (routes corresponding to your webpack output, for example '/main' for 'main.js').", - simpleType: "boolean", - multiple: false, - }, - open: { - configs: [ - { - type: "string", - multiple: true, - description: - "Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser).", - path: "open[]", - }, - { - type: "boolean", - multiple: false, - description: - "Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser).", - negatedDescription: "Does not open the default browser.", - path: "open", - }, - ], - description: - "Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser).", - simpleType: "string", - multiple: true, - }, - "open-app-name": { - configs: [ - { - type: "string", - multiple: true, - description: "Open specified browser.", - path: "open[].app.name", - }, - { - type: "string", - multiple: true, - description: "Open specified browser.", - path: "open.app.name[]", - }, - ], - description: "Open specified browser.", - simpleType: "string", - multiple: true, - }, - "open-app-name-reset": { - configs: [ - { - type: "reset", - multiple: false, - description: - "Clear all items provided in 'open.app.name' configuration. Open specified browser.", - path: "open.app.name", - }, - ], - description: - "Clear all items provided in 'open.app.name' configuration. Open specified browser.", - simpleType: "boolean", - multiple: false, - }, - "open-reset": { - configs: [ - { - type: "reset", - multiple: false, - description: - "Clear all items provided in 'open' configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser).", - path: "open", - }, - ], - description: - "Clear all items provided in 'open' configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser).", - simpleType: "boolean", - multiple: false, - }, - "open-target": { - configs: [ - { - type: "string", - multiple: true, - description: "Opens specified page in browser.", - path: "open[].target", - }, - { - type: "string", - multiple: true, - description: "Opens specified page in browser.", - path: "open.target[]", - }, - ], - description: "Opens specified page in browser.", - simpleType: "string", - multiple: true, - }, - "open-target-reset": { - configs: [ - { - type: "reset", - multiple: false, - description: - "Clear all items provided in 'open.target' configuration. Opens specified page in browser.", - path: "open.target", - }, - ], - description: - "Clear all items provided in 'open.target' configuration. Opens specified page in browser.", - simpleType: "boolean", - multiple: false, - }, - port: { - configs: [ - { - type: "number", - multiple: false, - description: "Allows to specify a port to use.", - path: "port", - }, - { - type: "string", - multiple: false, - description: "Allows to specify a port to use.", - path: "port", - }, - { - type: "enum", - values: ["auto"], - multiple: false, - description: "Allows to specify a port to use.", - path: "port", - }, - ], - description: "Allows to specify a port to use.", - simpleType: "string", - multiple: false, - }, - "server-options-ca": { - configs: [ - { - description: - "Path to an SSL CA certificate or content of an SSL CA certificate.", - multiple: true, - path: "server.options.ca[]", - type: "string", - }, - ], - description: - "Path to an SSL CA certificate or content of an SSL CA certificate.", - multiple: true, - simpleType: "string", - }, - "server-options-ca-reset": { - configs: [ - { - description: - "Clear all items provided in 'server.options.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate.", - multiple: false, - path: "server.options.ca", - type: "reset", - }, - ], - description: - "Clear all items provided in 'server.options.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate.", - multiple: false, - simpleType: "boolean", - }, - "server-options-cert": { - configs: [ - { - description: - "Path to an SSL certificate or content of an SSL certificate.", - multiple: true, - path: "server.options.cert[]", - type: "string", - }, - ], - description: "Path to an SSL certificate or content of an SSL certificate.", - multiple: true, - simpleType: "string", - }, - "server-options-cert-reset": { - configs: [ - { - description: - "Clear all items provided in 'server.options.cert' configuration. Path to an SSL certificate or content of an SSL certificate.", - multiple: false, - path: "server.options.cert", - type: "reset", - }, - ], - description: - "Clear all items provided in 'server.options.cert' configuration. Path to an SSL certificate or content of an SSL certificate.", - multiple: false, - simpleType: "boolean", - }, - "server-options-crl": { - configs: [ - { - description: - "Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists).", - multiple: true, - path: "server.options.crl[]", - type: "string", - }, - ], - description: - "Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists).", - multiple: true, - simpleType: "string", - }, - "server-options-crl-reset": { - configs: [ - { - description: - "Clear all items provided in 'server.options.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists).", - multiple: false, - path: "server.options.crl", - type: "reset", - }, - ], - description: - "Clear all items provided in 'server.options.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists).", - multiple: false, - simpleType: "boolean", - }, - "server-options-key": { - configs: [ - { - description: "Path to an SSL key or content of an SSL key.", - multiple: true, - path: "server.options.key[]", - type: "string", - }, - ], - description: "Path to an SSL key or content of an SSL key.", - multiple: true, - simpleType: "string", - }, - "server-options-key-reset": { - configs: [ - { - description: - "Clear all items provided in 'server.options.key' configuration. Path to an SSL key or content of an SSL key.", - multiple: false, - path: "server.options.key", - type: "reset", - }, - ], - description: - "Clear all items provided in 'server.options.key' configuration. Path to an SSL key or content of an SSL key.", - multiple: false, - simpleType: "boolean", - }, - "server-options-passphrase": { - configs: [ - { - description: "Passphrase for a pfx file.", - multiple: false, - path: "server.options.passphrase", - type: "string", - }, - ], - description: "Passphrase for a pfx file.", - multiple: false, - simpleType: "string", - }, - "server-options-pfx": { - configs: [ - { - description: "Path to an SSL pfx file or content of an SSL pfx file.", - multiple: true, - path: "server.options.pfx[]", - type: "string", - }, - ], - description: "Path to an SSL pfx file or content of an SSL pfx file.", - multiple: true, - simpleType: "string", - }, - "server-options-pfx-reset": { - configs: [ - { - description: - "Clear all items provided in 'server.options.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file.", - multiple: false, - path: "server.options.pfx", - type: "reset", - }, - ], - description: - "Clear all items provided in 'server.options.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file.", - multiple: false, - simpleType: "boolean", - }, - "server-options-request-cert": { - configs: [ - { - description: "Request for an SSL certificate.", - negatedDescription: "Does not request for an SSL certificate.", - multiple: false, - path: "server.options.requestCert", - type: "boolean", - }, - ], - description: "Request for an SSL certificate.", - multiple: false, - simpleType: "boolean", - }, - "server-type": { - configs: [ - { - description: "Allows to set server and options (by default 'http').", - multiple: false, - path: "server.type", - type: "enum", - values: ["http", "https"], - }, - ], - description: "Allows to set server and options (by default 'http').", - multiple: false, - simpleType: "string", - }, - static: { - configs: [ - { - type: "string", - multiple: true, - description: - "Allows to configure options for serving static files from directory (by default 'public' directory).", - path: "static[]", - }, - { - type: "boolean", - multiple: false, - description: - "Allows to configure options for serving static files from directory (by default 'public' directory).", - negatedDescription: - "Disallows to configure options for serving static files from directory.", - path: "static", - }, - ], - description: - "Allows to configure options for serving static files from directory (by default 'public' directory).", - simpleType: "string", - multiple: true, - }, - "static-directory": { - configs: [ - { - type: "string", - multiple: true, - description: "Directory for static contents.", - path: "static[].directory", - }, - ], - description: "Directory for static contents.", - simpleType: "string", - multiple: true, - }, - "static-public-path": { - configs: [ - { - type: "string", - multiple: true, - description: - "The static files will be available in the browser under this public path.", - path: "static[].publicPath", - }, - { - type: "string", - multiple: true, - description: - "The static files will be available in the browser under this public path.", - path: "static.publicPath[]", - }, - ], - description: - "The static files will be available in the browser under this public path.", - simpleType: "string", - multiple: true, - }, - "static-public-path-reset": { - configs: [ - { - type: "reset", - multiple: false, - description: - "Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path.", - path: "static.publicPath", - }, - ], - description: - "Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path.", - simpleType: "boolean", - multiple: false, - }, - "static-reset": { - configs: [ - { - type: "reset", - multiple: false, - description: - "Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory).", - path: "static", - }, - ], - description: - "Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory).", - simpleType: "boolean", - multiple: false, - }, - "static-serve-index": { - configs: [ - { - type: "boolean", - multiple: true, - description: - "Tells dev server to use serveIndex middleware when enabled.", - negatedDescription: - "Does not tell dev server to use serveIndex middleware.", - path: "static[].serveIndex", - }, - ], - description: "Tells dev server to use serveIndex middleware when enabled.", - simpleType: "boolean", - multiple: true, - }, - "static-watch": { - configs: [ - { - type: "boolean", - multiple: true, - description: "Watches for files in static content directory.", - negatedDescription: - "Does not watch for files in static content directory.", - path: "static[].watch", - }, - ], - description: "Watches for files in static content directory.", - simpleType: "boolean", - multiple: true, - }, - "watch-files": { - configs: [ - { - type: "string", - multiple: true, - description: - "Allows to configure list of globs/directories/files to watch for file changes.", - path: "watchFiles[]", - }, - ], - description: - "Allows to configure list of globs/directories/files to watch for file changes.", - simpleType: "string", - multiple: true, - }, - "watch-files-reset": { - configs: [ - { - type: "reset", - multiple: false, - description: - "Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes.", - path: "watchFiles", - }, - ], - description: - "Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes.", - simpleType: "boolean", - multiple: false, - }, - "web-socket-server-type": { - configs: [ - { - description: - "Allows to set web socket server and options (by default 'ws').", - multiple: false, - path: "webSocketServer.type", - type: "enum", - values: ["ws"], - }, - { - description: - "Allows to set web socket server and options (by default 'ws').", - multiple: false, - path: "webSocketServer.type", - type: "string", - }, - ], - description: - "Allows to set web socket server and options (by default 'ws').", - simpleType: "string", - multiple: false, - }, -}; diff --git a/migration-v6.md b/migration-v6.md index aaefdf9c70..80ed0db7f3 100644 --- a/migration-v6.md +++ b/migration-v6.md @@ -53,27 +53,7 @@ This document serves as a migration guide for `webpack-dev-server@6.0.0`. const ip = Server.findIp("v4", true); ``` -- The following CLI options were deprecated and have now been removed. Please use the recommended alternatives: - - http2 -> server - - https -> server - - https-ca -> server.options.ca - - https-ca-reset -> server.options.ca - - https-cacert -> server.options.ca - - https-cert -> server.options.cert - - https-cert-reset -> server.options.cert - - https-crl -> server.options.crl - - https-crl-reset -> server.options.crl - - https-key -> server.options.key - - https-key-reset -> server.options.key - - https-passphrase -> server.options.passphrase - - https-pfx -> server.options.pfx - - https-pfx-reset -> server.options.pfx - - https-request-cert -> server.options.requestCert - - open-app -> --open-app-name - - server-options-cacert -> server.options.ca - - server-options-cacert-reset -> server.options.ca - - web-socket-server -> web-socket-server-type - +- Support for webpack-dev-server using CLI flags has been removed. Please use the latest version of webpack-cli. - The bypass function in the proxy configuration was removed. Use the `pathFilter` and `router` for similar functionality. See the example below. v4: From 870519847bb55cba5883a9416e7f2627e2f4164d Mon Sep 17 00:00:00 2001 From: Sebastian Beltran Date: Sat, 28 Feb 2026 20:02:08 +0000 Subject: [PATCH 4/4] feat: remove cli-flags.d.ts --- types/bin/cli-flags.d.ts | 759 --------------------------------------- 1 file changed, 759 deletions(-) delete mode 100644 types/bin/cli-flags.d.ts diff --git a/types/bin/cli-flags.d.ts b/types/bin/cli-flags.d.ts deleted file mode 100644 index 30f7f8db5f..0000000000 --- a/types/bin/cli-flags.d.ts +++ /dev/null @@ -1,759 +0,0 @@ -declare const _exports: { - "allowed-hosts": { - configs: ( - | { - type: string; - multiple: boolean; - description: string; - path: string; - values?: undefined; - } - | { - description: string; - multiple: boolean; - path: string; - type: string; - values: string[]; - } - )[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "allowed-hosts-reset": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - bonjour: { - configs: { - type: string; - multiple: boolean; - description: string; - negatedDescription: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - client: { - configs: { - description: string; - negatedDescription: string; - multiple: boolean; - path: string; - type: string; - values: boolean[]; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "client-logging": { - configs: { - type: string; - values: string[]; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "client-overlay": { - configs: { - type: string; - multiple: boolean; - description: string; - negatedDescription: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "client-overlay-errors": { - configs: { - type: string; - multiple: boolean; - description: string; - negatedDescription: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "client-overlay-trusted-types-policy-name": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "client-overlay-warnings": { - configs: { - type: string; - multiple: boolean; - description: string; - negatedDescription: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "client-overlay-runtime-errors": { - configs: { - type: string; - multiple: boolean; - description: string; - negatedDescription: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "client-progress": { - configs: { - type: string; - multiple: boolean; - description: string; - negatedDescription: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "client-reconnect": { - configs: ( - | { - type: string; - multiple: boolean; - description: string; - negatedDescription: string; - path: string; - } - | { - type: string; - multiple: boolean; - description: string; - path: string; - negatedDescription?: undefined; - } - )[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "client-web-socket-transport": { - configs: ( - | { - type: string; - values: string[]; - multiple: boolean; - description: string; - path: string; - } - | { - type: string; - multiple: boolean; - description: string; - path: string; - values?: undefined; - } - )[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "client-web-socket-url": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "client-web-socket-url-hostname": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "client-web-socket-url-password": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "client-web-socket-url-pathname": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "client-web-socket-url-port": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "client-web-socket-url-protocol": { - configs: ( - | { - description: string; - multiple: boolean; - path: string; - type: string; - values: string[]; - } - | { - description: string; - multiple: boolean; - path: string; - type: string; - values?: undefined; - } - )[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "client-web-socket-url-username": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - compress: { - configs: { - type: string; - multiple: boolean; - description: string; - negatedDescription: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "history-api-fallback": { - configs: { - type: string; - multiple: boolean; - description: string; - negatedDescription: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - host: { - configs: ( - | { - description: string; - multiple: boolean; - path: string; - type: string; - values: string[]; - } - | { - description: string; - multiple: boolean; - path: string; - type: string; - values?: undefined; - } - )[]; - description: string; - simpleType: string; - multiple: boolean; - }; - hot: { - configs: ( - | { - type: string; - multiple: boolean; - description: string; - negatedDescription: string; - path: string; - values?: undefined; - } - | { - type: string; - values: string[]; - multiple: boolean; - description: string; - path: string; - negatedDescription?: undefined; - } - )[]; - description: string; - simpleType: string; - multiple: boolean; - }; - ipc: { - configs: ( - | { - type: string; - multiple: boolean; - description: string; - path: string; - values?: undefined; - } - | { - type: string; - values: boolean[]; - multiple: boolean; - description: string; - path: string; - } - )[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "live-reload": { - configs: { - type: string; - multiple: boolean; - description: string; - negatedDescription: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "magic-html": { - configs: { - type: string; - multiple: boolean; - description: string; - negatedDescription: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - open: { - configs: ( - | { - type: string; - multiple: boolean; - description: string; - path: string; - negatedDescription?: undefined; - } - | { - type: string; - multiple: boolean; - description: string; - negatedDescription: string; - path: string; - } - )[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "open-app-name": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "open-app-name-reset": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "open-reset": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "open-target": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "open-target-reset": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - port: { - configs: ( - | { - type: string; - multiple: boolean; - description: string; - path: string; - values?: undefined; - } - | { - type: string; - values: string[]; - multiple: boolean; - description: string; - path: string; - } - )[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "server-options-ca": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "server-options-ca-reset": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "server-options-cert": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "server-options-cert-reset": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "server-options-crl": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "server-options-crl-reset": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "server-options-key": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "server-options-key-reset": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "server-options-passphrase": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "server-options-pfx": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "server-options-pfx-reset": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "server-options-request-cert": { - configs: { - description: string; - negatedDescription: string; - multiple: boolean; - path: string; - type: string; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - "server-type": { - configs: { - description: string; - multiple: boolean; - path: string; - type: string; - values: string[]; - }[]; - description: string; - multiple: boolean; - simpleType: string; - }; - static: { - configs: ( - | { - type: string; - multiple: boolean; - description: string; - path: string; - negatedDescription?: undefined; - } - | { - type: string; - multiple: boolean; - description: string; - negatedDescription: string; - path: string; - } - )[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "static-directory": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "static-public-path": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "static-public-path-reset": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "static-reset": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "static-serve-index": { - configs: { - type: string; - multiple: boolean; - description: string; - negatedDescription: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "static-watch": { - configs: { - type: string; - multiple: boolean; - description: string; - negatedDescription: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "watch-files": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "watch-files-reset": { - configs: { - type: string; - multiple: boolean; - description: string; - path: string; - }[]; - description: string; - simpleType: string; - multiple: boolean; - }; - "web-socket-server-type": { - configs: ( - | { - description: string; - multiple: boolean; - path: string; - type: string; - values: string[]; - } - | { - description: string; - multiple: boolean; - path: string; - type: string; - values?: undefined; - } - )[]; - description: string; - simpleType: string; - multiple: boolean; - }; -}; -export = _exports;