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
--host <value>Specify a host to use. If you want your server to be accessible externally.
120
-
--hot [value]Enable webpack's Hot Module Replacement feature.
121
-
--no-hotDisable webpack's Hot Module Replacement feature.
122
-
--http2Serve over HTTP/2 using spdy.
123
-
--no-http2Do not use HTTP/2.
124
-
--https By default, dev-server will be served over HTTP. It can optionally be served over HTTP/2 with HTTPS.
125
-
--no-https Do not use HTTPS protocol.
126
-
--https-passphrase <value>Passphrase for a pfx file.
127
-
--https-request-cert Request for an SSL certificate.
128
-
--no-https-request-cert Do not request for an SSL certificate.
129
-
--https-cacert <value> Path to an SSL CA certificate.
130
-
--https-key <value> Path to an SSL key.
131
-
--https-pfx <value> Path to an SSL pfx file.
132
-
--https-cert <value>Path to an SSL certificate.
133
-
--live-reloadBy default, the dev-server will reload/refresh the page when file changes are detected.
134
-
--no-live-reload Disables live reloading on changing files.
135
-
--open [value...] Tells dev-server to open the browser after server had been started. Set it to true to open your default
136
-
browser.
137
-
--no-open Do not open the default browser.
138
-
--open-target [value...] Open specified route in browser.
139
-
--no-open-target Do not open specified route in browser.
140
-
--open-app-name <value...> Open specified browser.
141
-
--open-app <value> Open specified browser.
142
-
--open-reset Clear all items provided in open configuration.
143
-
--open-target-resetClear all items provided in open.target configuration.
144
-
--open-app-name-reset Clear all items provided in open.app.name configuration.
145
-
--port <value> Specify a port number to listen for requests on.
146
-
--public <value> The public hostname/ip address of the server that client script will try to connect to.
147
-
--static [value...] It is possible to configure advanced options for serving static files from directory. See the Express
148
-
documentation for the possible options.
149
-
--no-static Negative 'static' option.
150
-
--static-directory <value> Directory for static contents.
151
-
--static-public-path <value...> The bundled files will be available in the browser under this path.
152
-
--static-serve-index Tells dev-server to use serveIndex middleware when enabled.
153
-
--no-static-serve-index Do not tell dev-server to use serveIndex middleware.
154
-
--static-watch Watch for files in static content directory.
155
-
--no-static-watch Do not watch for files in static content directory.
156
-
--static-reset Clear all items provided in static configuration.
157
-
--static-public-path-resetClear all items provided in static.publicPath configuration.
158
-
--watch-files <value...>List of files to watch for file changes and serve.
159
-
--watch-files-paths <value...> List of files to watch for file changes and serve.
160
-
--watch-files-reset Clear all items provided in watchFiles configuration.
161
-
--watch-files-paths-resetClear all items provided in watchFiles.paths configuration.
67
+
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
68
+
--config-name <value...> Name of the configuration to use.
69
+
-m, --merge Merge two or more configurations using 'webpack-merge'.
70
+
--env <value...> Environment passed to the configuration when it is a function.
71
+
--node-env <value> Sets process.env.NODE_ENV to the specified value.
72
+
--progress [value] Print compilation progress during build.
73
+
-j, --json [value] Prints result as JSON or store it in a file.
74
+
-d, --devtool <value> Determine source maps to use.
75
+
--no-devtool Do not generate source maps.
76
+
--entry <value...> The entry point(s) of your application e.g. ./src/main.js.
77
+
--mode <value> Defines the mode to pass to webpack.
78
+
--name <value> Name of the configuration. Used when loading multiple configurations.
79
+
-o, --output-path <value> Output location of the file generated by webpack e.g. ./dist/.
80
+
--stats [value] It instructs webpack on how to treat the stats e.g. verbose.
81
+
--no-stats Disable stats output.
82
+
-t, --target <value...> Sets the build target e.g. node.
83
+
--no-target Negative 'target' option.
84
+
--watch-options-stdin Stop watching when stdin stream has ended.
85
+
--no-watch-options-stdin Do not stop watching when stdin stream has ended.
86
+
--allowed-hosts <value...> Defines routes which are enabled by default, on by default and allows localhost/value from the 'host' option/value from the 'client.webSocketURL'
--allowed-hosts-resetClear all items provided in configuration. Defines routes which are enabled by default, on by default and allows localhost/value from the 'host'
89
+
option/value from the 'client.webSocketURL' option. https://webpack.js.org/configuration/dev-server/#devserverallowedhosts
90
+
--bonjour Broadcasts the server via ZeroConf networking on start. https://webpack.js.org/configuration/dev-server/#devserverbonjour
91
+
--no-bonjour Do not broadcast the server via ZeroConf networking on start.
92
+
--client-transport <value>Allows to set custom transport to communicate with server.
--host <value>Specify a host to use. If you want your server to be accessible externally. https://webpack.js.org/configuration/dev-server/#devserverhost
118
+
--hot [value] Enable webpack's Hot Module Replacement feature. https://webpack.js.org/configuration/dev-server/#devserverhot
119
+
--no-hot Disable webpack's Hot Module Replacement feature.
120
+
--http2 Serve over HTTP/2 using spdy. https://webpack.js.org/configuration/dev-server/#devserverhttp2
121
+
--no-http2 Do not use HTTP/2.
122
+
--https By default, dev-server will be served over HTTP. It can optionally be served over HTTP/2 with HTTPS.
--open-target [value...] Open specified route in browser.
139
+
--no-open-target Do not open specified route in browser.
140
+
--open-app-name <value...> Open specified browser.
141
+
--open-app <value...> Open specified browser.
142
+
--open-reset Clear all items provided in configuration. Tells dev-server to open the browser after server had been started. Set it to true to open your default
--open-target-reset Clear all items provided in configuration. Open specified route in browser.
145
+
--open-app-name-reset Clear all items provided in configuration. Open specified browser.
146
+
--port <value> Specify a port number to listen for requests on. https://webpack.js.org/configuration/dev-server/#devserverport
147
+
--static [value...] It is possible to configure advanced options for serving static files from directory. See the Express documentation for the possible options.
--static-directory <value...> Directory for static contents.
151
+
--static-public-path <value...> The bundled files will be available in the browser under this path.
152
+
--static-serve-index Tells dev-server to use serveIndex middleware when enabled.
153
+
--no-static-serve-index Do not tell dev-server to use serveIndex middleware.
154
+
--static-watch Watch for files in static content directory.
155
+
--no-static-watch Do not watch for files in static content directory.
156
+
--static-reset Clear all items provided in configuration. It is possible to configure advanced options for serving static files from directory. See the Express
157
+
documentation for the possible options. https://webpack.js.org/configuration/dev-server/#devserverstatic
158
+
--static-public-path-reset Clear all items provided in configuration. The bundled files will be available in the browser under this path.
159
+
--watch-files <value...> List of files to watch for file changes and serve. https://webpack.js.org/configuration/dev-server/#devserverwatchfiles
160
+
--watch-files-reset Clear all items provided in configuration. List of files to watch for file changes and serve.
0 commit comments