You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+44-47
Original file line number
Diff line number
Diff line change
@@ -73,76 +73,78 @@ Options:
73
73
--node-env <value> Sets process.env.NODE_ENV to the specified value.
74
74
--progress [value] Print compilation progress during build.
75
75
-j, --json [value] Prints result as JSON or store it in a file.
76
+
--entry <value...> The entry point(s) of your application e.g. ./src/main.js.
77
+
-o, --output-path <value> Output location of the file generated by webpack e.g. ./dist/.
78
+
-t, --target <value> Sets the build target e.g. node.
76
79
-d, --devtool <value> Determine source maps to use.
77
80
--no-devtool Do not generate source maps.
78
-
--entry <value...> The entry point(s) of your application e.g. ./src/main.js.
79
81
--mode <value> Defines the mode to pass to webpack.
80
82
--name <value> Name of the configuration. Used when loading multiple configurations.
81
-
-o, --output-path <value> Output location of the file generated by webpack e.g. ./dist/.
82
83
--stats [value] It instructs webpack on how to treat the stats e.g. verbose.
83
84
--no-stats Disable stats output.
84
-
-t, --target <value...> Sets the build target e.g. node.
85
-
--no-target Negative 'target' option.
86
85
--watch-options-stdin Stop watching when stdin stream has ended.
87
86
--no-watch-options-stdin Do not stop watching when stdin stream has ended.
88
-
--allowed-hosts <value...> Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying
89
-
dev server, by default is 'auto').
90
-
--allowed-hosts-reset Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to
91
-
the dev server are allowed (useful when you are proxying dev server, by default is 'auto').
87
+
--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').
88
+
--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').
92
89
--bonjour Allows to broadcasts dev server via ZeroConf networking on start.
93
-
--no-bonjour Negative 'bonjour' option.
90
+
--no-bonjour Disallows to broadcasts dev server via ZeroConf networking on start.
91
+
--client-web-socket-transport <value> Allows to set custom web socket transport to communicate with dev server.
94
92
--no-client Negative 'client' option.
95
93
--client-logging <value> Allows to specify options for client script in the browser or disable client script.
94
+
--client-progress Prints compilation progress in percentage in the browser.
95
+
--no-client-progress Does not print compilation progress in percentage in the browser.
96
96
--client-overlay Enables a full-screen overlay in the browser when there are compiler errors or warnings.
--client-web-socket-transport <value> Allows to set custom web socket transport to communicate with dev server.
105
-
--client-web-socket-url <value> Allows to specify URL to web socket server (useful when you're proxying dev server and client script does
106
-
not always know where to connect to).
102
+
--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).
107
103
--client-web-socket-url-hostname <value> Tells clients connected to devServer to use the provided hostname.
108
-
--client-web-socket-url-pathname <value> Tells clients connected to devServer to use the provided path to connect.
109
-
--client-web-socket-url-password <value> Tells clients connected to devServer to use the provided password to authenticate.
110
104
--client-web-socket-url-port <value> Tells clients connected to devServer to use the provided port.
105
+
--client-web-socket-url-pathname <value> Tells clients connected to devServer to use the provided path to connect.
111
106
--client-web-socket-url-protocol <value> Tells clients connected to devServer to use the provided protocol.
112
107
--client-web-socket-url-username <value> Tells clients connected to devServer to use the provided username to authenticate.
108
+
--client-web-socket-url-password <value> Tells clients connected to devServer to use the provided password to authenticate.
109
+
--web-socket-server <value> Allows to set web socket server and options (by default 'ws').
--compress Enables gzip compression for everything served.
114
-
--no-compress Negative 'compress' option.
115
-
--history-api-fallback Allows to proxy requests through a specified index page (by default 'index.html'), useful for Single Page
116
-
Applications that utilise the HTML5 History API.
112
+
--no-compress Disables gzip compression for everything served.
113
+
--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.
--https-cacert <value> Path to an SSL CA certificate.
129
-
--https-key <value> Path to an SSL key.
130
-
--https-pfx <value> Path to an SSL pfx file.
131
-
--https-cert <value> Path to an SSL certificate.
124
+
--no-https-request-cert Does not request for an SSL certificate.
125
+
--https-ca <value...> Path to an SSL CA certificate or content of an SSL CA certificate.
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.
127
+
--https-cacert <value...> Path to an SSL CA certificate or content of an SSL CA certificate.
128
+
--https-cacert-reset Clear all items provided in 'https.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate.
129
+
--https-key <value...> Path to an SSL key or content of an SSL key.
130
+
--https-key-reset Clear all items provided in 'https.key' configuration. Path to an SSL key or content of an SSL key.
131
+
--https-pfx <value...> Path to an SSL pfx file or content of an SSL pfx file.
132
+
--https-pfx-reset Clear all items provided in 'https.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file.
133
+
--https-cert <value...> Path to an SSL certificate or content of an SSL certificate.
134
+
--https-cert-reset Clear all items provided in 'https.cert' configuration. Path to an SSL certificate or content of an SSL certificate.
135
+
--https-crl <value...> Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists).
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 (Certificate Revocation Lists).
132
137
--ipc [value] Listen to a unix socket.
133
138
--live-reload Enables reload/refresh the page(s) when file changes are detected (enabled by default).
134
-
--no-live-reload Negative 'live-reload' option.
135
-
--magic-html Tells dev-server whether to enable magic HTML routes (routes corresponding to your webpack output, for
136
-
example '/main' for 'main.js').
137
-
--no-magic-html Negative 'magic-html' option.
138
-
--open [value...] Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to
139
-
true to open your default browser).
140
-
--no-open Negative 'open' option.
139
+
--no-live-reload Disables reload/refresh the page(s) when file changes are detected (enabled by default)
140
+
--magic-html Tells dev-server whether to enable magic HTML routes (routes corresponding to your webpack output, for example '/main' for 'main.js').
141
+
--no-magic-html Disables magic HTML routes (routes corresponding to your webpack output, for example '/main' for 'main.js').
142
+
--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).
143
+
--no-open Does not open the default browser.
141
144
--open-target <value...> Opens specified page in browser.
142
145
--open-app-name <value...> Open specified browser.
143
146
--open-app <value...> Open specified browser.
144
-
--open-reset Clear all items provided in 'open' configuration. Allows to configure dev server to open the browser(s) and
145
-
page(s) after server had been started (set it to true to open your default browser).
147
+
--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).
146
148
--open-target-reset Clear all items provided in 'open.target' configuration. Opens specified page in browser.
147
149
--open-app-name-reset Clear all items provided in 'open.app.name' configuration. Open specified browser.
148
150
--port <value> Allows to specify a port to use.
@@ -151,18 +153,13 @@ Options:
151
153
--static-directory <value...> Directory for static contents.
152
154
--static-public-path <value...> The static files will be available in the browser under this public path.
153
155
--static-serve-index Tells dev server to use serveIndex middleware when enabled.
--no-static-serve-index Does not tell dev server to use serveIndex middleware.
155
157
--static-watch Watches for files in static content directory.
156
-
--no-static-watch Negative 'static-watch' option.
157
-
--static-reset Clear all items provided in 'static' configuration. Allows to configure options for serving static files
158
-
from directory (by default 'public' directory).
159
-
--static-public-path-reset Clear all items provided in 'static.publicPath' configuration. The static files will be available in the
160
-
browser under this public path.
158
+
--no-static-watch Does not watch for files in static content directory.
159
+
--static-reset Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory).
160
+
--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.
161
161
--watch-files <value...> Allows to configure list of globs/directories/files to watch for file changes.
162
-
--watch-files-reset Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files
163
-
to watch for file changes.
164
-
--web-socket-server <value> Allows to set web socket server and options (by default 'ws').
--watch-files-reset Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes.
0 commit comments