webpack-dev-server 4.4.0 → 4.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -86,71 +86,63 @@ Options:
86
86
  --watch-options-stdin Stop watching when stdin stream has ended.
87
87
  --no-watch-options-stdin Do not stop watching when stdin stream has ended.
88
88
  --allowed-hosts <value...> 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').
89
- --allowed-hosts-reset 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').
89
+ --allowed-hosts-reset Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when
90
+ you are proxying dev server, by default is 'auto').
90
91
  --bonjour Allows to broadcasts dev server via ZeroConf networking on start.
91
92
  --no-bonjour Disallows to broadcasts dev server via ZeroConf networking on start.
92
- --client-web-socket-transport <value> Allows to set custom web socket transport to communicate with dev server.
93
93
  --no-client Negative 'client' option.
94
- --client-logging <value> Allows to specify options for client script in the browser or disable client script.
95
- --client-progress Prints compilation progress in percentage in the browser.
96
- --no-client-progress Does not print compilation progress in percentage in the browser.
97
- --client-reconnect [value] Tells dev-server the number of times it should try to reconnect the client.
98
- --no-client-reconnect Tells dev-server to not to try to connect the client.
94
+ --client-logging <value> Allows to set log level in the browser.
99
95
  --client-overlay Enables a full-screen overlay in the browser when there are compiler errors or warnings.
100
96
  --no-client-overlay Disables a full-screen overlay in the browser when there are compiler errors or warnings.
101
97
  --client-overlay-errors Enables a full-screen overlay in the browser when there are compiler errors.
102
98
  --no-client-overlay-errors Negative 'client-overlay-errors' option.
103
99
  --client-overlay-warnings Enables a full-screen overlay in the browser when there are compiler warnings.
104
100
  --no-client-overlay-warnings Negative 'client-overlay-warnings' option.
101
+ --client-progress Prints compilation progress in percentage in the browser.
102
+ --no-client-progress Does not print compilation progress in percentage in the browser.
103
+ --client-reconnect [value] Tells dev-server the number of times it should try to reconnect the client.
104
+ --no-client-reconnect Tells dev-server to not to try to connect the client.
105
+ --client-web-socket-transport <value> Allows to set custom web socket transport to communicate with dev server.
105
106
  --client-web-socket-url <value> 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).
106
107
  --client-web-socket-url-hostname <value> Tells clients connected to devServer to use the provided hostname.
107
- --client-web-socket-url-port <value> Tells clients connected to devServer to use the provided port.
108
+ --client-web-socket-url-password <value> Tells clients connected to devServer to use the provided password to authenticate.
108
109
  --client-web-socket-url-pathname <value> Tells clients connected to devServer to use the provided path to connect.
110
+ --client-web-socket-url-port <value> Tells clients connected to devServer to use the provided port.
109
111
  --client-web-socket-url-protocol <value> Tells clients connected to devServer to use the provided protocol.
110
112
  --client-web-socket-url-username <value> Tells clients connected to devServer to use the provided username to authenticate.
111
- --client-web-socket-url-password <value> Tells clients connected to devServer to use the provided password to authenticate.
112
- --web-socket-server <value> Allows to set web socket server and options (by default 'ws').
113
- --no-web-socket-server Negative 'web-socket-server' option.
114
113
  --compress Enables gzip compression for everything served.
115
114
  --no-compress Disables gzip compression for everything served.
116
- --history-api-fallback Allows to proxy requests through a specified index page (by default 'index.html'), useful for Single Page Applications that utilise the HTML5 History API.
115
+ --history-api-fallback Allows to proxy requests through a specified index page (by default 'index.html'), useful for Single Page Applications that utilise the HTML5
116
+ History API.
117
117
  --no-history-api-fallback Negative 'history-api-fallback' option.
118
118
  --host <value> Allows to specify a hostname to use.
119
119
  --hot [value] Enables Hot Module Replacement.
120
120
  --no-hot Disables Hot Module Replacement.
121
- --http2 Allows to serve over HTTP/2 using SPDY.
121
+ --http2 Allows to serve over HTTP/2 using SPDY. Deprecated, use the `server` option.
122
122
  --no-http2 Does not serve over HTTP/2 using SPDY.
123
- --https Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).
123
+ --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.
124
124
  --no-https Disallows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).
125
- --https-passphrase <value> Passphrase for a pfx file. Deprecated, it will be removed in favor of the `server.options.passphrase` option.
126
- --https-request-cert Request for an SSL certificate. Deprecated, it will be removed in favor of the `server.options.requestCert`
127
- option.
128
- --no-https-request-cert Negative 'https-request-cert' option.
129
- --https-ca <value...> Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the
125
+ --https-ca <value...> Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.
126
+ --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
127
+ `server.options.ca` option.
128
+ --https-cacert <value...> Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.
129
+ --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
130
130
  `server.options.ca` option.
131
- --https-ca-reset Clear all items provided in 'https.ca' configuration. Path to an SSL CA certificate or content of an SSL CA
132
- certificate. Deprecated, it will be removed in favor of the `server.options.ca` option.
133
- --https-cacert <value...> Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, it will be removed in favor of the
134
- `server.options.cacert` option.
135
- --https-cacert-reset Clear all items provided in 'https.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA
136
- certificate. Deprecated, it will be removed in favor of the `server.options.cacert` option.
137
- --https-cert <value...> Path to an SSL certificate or content of an SSL certificate. Deprecated, it will be removed in favor of the
131
+ --https-cert <value...> Path to an SSL certificate or content of an SSL certificate. Deprecated, use the `server.options.cert` option.
132
+ --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
138
133
  `server.options.cert` option.
139
- --https-cert-reset Clear all items provided in 'https.cert' configuration. Path to an SSL certificate or content of an SSL
140
- certificate. Deprecated, it will be removed in favor of the `server.options.cert` option.
141
- --https-crl <value...> Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate
142
- Revocation Lists). Deprecated, it will be removed in favor of the `server.options.crl` option.
143
- --https-crl-reset Clear all items provided in 'https.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists)
144
- or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, it will be removed in favor of the
134
+ --https-crl <value...> Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, use the
145
135
  `server.options.crl` option.
146
- --https-key <value...> Path to an SSL key or content of an SSL key. Deprecated, it will be removed in favor of the `server.options.key`
147
- option.
148
- --https-key-reset Clear all items provided in 'https.key' configuration. Path to an SSL key or content of an SSL key. Deprecated,
149
- it will be removed in favor of the `server.options.key` option.
150
- --https-pfx <value...> Path to an SSL pfx file or content of an SSL pfx file. Deprecated, it will be removed in favor of the
136
+ --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
137
+ (Certificate Revocation Lists). Deprecated, use the `server.options.crl` option.
138
+ --https-key <value...> Path to an SSL key or content of an SSL key. Deprecated, use the `server.options.key` option.
139
+ --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.
140
+ --https-passphrase <value> Passphrase for a pfx file. Deprecated, use the `server.options.passphrase` option.
141
+ --https-pfx <value...> Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the `server.options.pfx` option.
142
+ --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
151
143
  `server.options.pfx` option.
152
- --https-pfx-reset Clear all items provided in 'https.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file.
153
- Deprecated, it will be removed in favor of the `server.options.pfx` option.
144
+ --https-request-cert Request for an SSL certificate. Deprecated, use the `server.options.requestCert` option.
145
+ --no-https-request-cert Does not request for an SSL certificate.
154
146
  --ipc [value] Listen to a unix socket.
155
147
  --live-reload Enables reload/refresh the page(s) when file changes are detected (enabled by default).
156
148
  --no-live-reload Disables reload/refresh the page(s) when file changes are detected (enabled by default)
@@ -158,48 +150,48 @@ Options:
158
150
  --no-magic-html Disables magic HTML routes (routes corresponding to your webpack output, for example '/main' for 'main.js').
159
151
  --open [value...] 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).
160
152
  --no-open Does not open the default browser.
161
- --open-target <value...> Opens specified page in browser.
153
+ --open-app <value...> Open specified browser. Deprecated: please use '--open-app-name'.
162
154
  --open-app-name <value...> Open specified browser.
163
- --open-app <value...> Open specified browser.
164
- --open-reset 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).
165
- --open-target-reset Clear all items provided in 'open.target' configuration. Opens specified page in browser.
166
155
  --open-app-name-reset Clear all items provided in 'open.app.name' configuration. Open specified browser.
156
+ --open-reset 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
157
+ (set it to true to open your default browser).
158
+ --open-target <value...> Opens specified page in browser.
159
+ --open-target-reset Clear all items provided in 'open.target' configuration. Opens specified page in browser.
167
160
  --port <value> Allows to specify a port to use.
168
- --server-type <value> Allows to set server and options (by default 'http').
169
- --server-options-passphrase <value> Passphrase for a pfx file.
170
- --server-options-request-cert Request for an SSL certificate.
171
- --no-server-options-request-cert Negative 'server-options-request-cert' option.
172
161
  --server-options-ca <value...> Path to an SSL CA certificate or content of an SSL CA certificate.
173
- --server-options-ca-reset Clear all items provided in 'server.options.ca' configuration. Path to an SSL CA certificate or content
174
- of an SSL CA certificate.
175
- --server-options-cacert <value...> Path to an SSL CA certificate or content of an SSL CA certificate.
176
- --server-options-cacert-reset Clear all items provided in 'server.options.cacert' configuration. Path to an SSL CA certificate or
177
- content of an SSL CA certificate.
162
+ --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.
163
+ --server-options-cacert <value...> Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option.
164
+ --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,
165
+ use the `server.options.ca` option.
178
166
  --server-options-cert <value...> Path to an SSL certificate or content of an SSL certificate.
179
- --server-options-cert-reset Clear all items provided in 'server.options.cert' configuration. Path to an SSL certificate or content
180
- of an SSL certificate.
181
- --server-options-crl <value...> Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate
182
- Revocation Lists).
183
- --server-options-crl-reset Clear all items provided in 'server.options.crl' configuration. Path to PEM formatted CRLs (Certificate
184
- Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists).
167
+ --server-options-cert-reset Clear all items provided in 'server.options.cert' configuration. Path to an SSL certificate or content of an SSL certificate.
168
+ --server-options-crl <value...> Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists).
169
+ --server-options-crl-reset Clear all items provided in 'server.options.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM
170
+ formatted CRLs (Certificate Revocation Lists).
185
171
  --server-options-key <value...> Path to an SSL key or content of an SSL key.
186
- --server-options-key-reset Clear all items provided in 'server.options.key' configuration. Path to an SSL key or content of an SSL
187
- key.
172
+ --server-options-key-reset Clear all items provided in 'server.options.key' configuration. Path to an SSL key or content of an SSL key.
173
+ --server-options-passphrase <value> Passphrase for a pfx file.
188
174
  --server-options-pfx <value...> Path to an SSL pfx file or content of an SSL pfx file.
189
- --server-options-pfx-reset Clear all items provided in 'server.options.pfx' configuration. Path to an SSL pfx file or content of
190
- an SSL pfx file.
175
+ --server-options-pfx-reset Clear all items provided in 'server.options.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file.
176
+ --server-options-request-cert Request for an SSL certificate.
177
+ --no-server-options-request-cert Negative 'server-options-request-cert' option.
178
+ --server-type <value> Allows to set server and options (by default 'http').
191
179
  --static [value...] Allows to configure options for serving static files from directory (by default 'public' directory).
192
180
  --no-static Negative 'static' option.
193
181
  --static-directory <value...> Directory for static contents.
194
182
  --static-public-path <value...> The static files will be available in the browser under this public path.
183
+ --static-public-path-reset Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path.
184
+ --static-reset Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public'
185
+ directory).
195
186
  --static-serve-index Tells dev server to use serveIndex middleware when enabled.
196
187
  --no-static-serve-index Does not tell dev server to use serveIndex middleware.
197
188
  --static-watch Watches for files in static content directory.
198
189
  --no-static-watch Does not watch for files in static content directory.
199
- --static-reset Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory).
200
- --static-public-path-reset Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path.
201
190
  --watch-files <value...> Allows to configure list of globs/directories/files to watch for file changes.
202
191
  --watch-files-reset Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes.
192
+ --web-socket-server <value> Deprecated: please use '--web-socket-server-type' option. Allows to set web socket server and options (by default 'ws').
193
+ --no-web-socket-server Negative 'web-socket-server' option.
194
+ --web-socket-server-type <value> Allows to set web socket server and options (by default 'ws').
203
195
 
204
196
  Global options:
205
197
  --color Enable colors on console.
@@ -267,7 +259,7 @@ Pull Request to resolve the bug.
267
259
 
268
260
  ## Support
269
261
 
270
- We do our best to keep Issues in the repository focused on bugs, features, and
262
+ We do our best to keep issues in the repository focused on bugs, features, and
271
263
  needed modifications to the code for the module. Because of that, we ask users
272
264
  with general support, "how-to", or "why isn't this working" questions to try one
273
265
  of the other support channels that are available.