Skip to content

Commit 574bb47

Browse files
committed
docs: update
1 parent 4f42ce2 commit 574bb47

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,15 @@ Options:
7171
--node-env <value> Sets process.env.NODE_ENV to the specified value.
7272
--progress [value] Print compilation progress during build.
7373
-j, --json [value] Prints result as JSON or store it in a file.
74+
--entry <value...> The entry point(s) of your application e.g. ./src/main.js.
75+
-o, --output-path <value> Output location of the file generated by webpack e.g. ./dist/.
76+
-t, --target <value> Sets the build target e.g. node.
7477
-d, --devtool <value> Determine source maps to use.
7578
--no-devtool Do not generate source maps.
76-
--entry <value...> The entry point(s) of your application e.g. ./src/main.js.
7779
--mode <value> Defines the mode to pass to webpack.
7880
--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/.
8081
--stats [value] It instructs webpack on how to treat the stats e.g. verbose.
8182
--no-stats Disable stats output.
82-
-t, --target <value...> Sets the build target e.g. node.
83-
--no-target Negative 'target' option.
8483
--watch-options-stdin Stop watching when stdin stream has ended.
8584
--no-watch-options-stdin Do not stop watching when stdin stream has ended.
8685
--bonjour Broadcasts the server via ZeroConf networking on start.
@@ -108,6 +107,7 @@ Options:
108107
--no-compress Disable gzip compression.
109108
--firewall [value...] Defines routes which are enabled by default, on by default and allows localhost.
110109
--no-firewall Disable firewall.
110+
--firewall-reset Clear all items provided in firewall configuration.
111111
--history-api-fallback When using the HTML5 History API, the index.html page will likely have to be served in place of any 404 responses.
112112
--no-history-api-fallback Negative 'history-api-fallback' option.
113113
--host <value> Specify a host to use. If you want your server to be accessible externally.
@@ -132,20 +132,26 @@ Options:
132132
--no-open-target Do not open specified route in browser.
133133
--open-app-name <value...> Open specified browser.
134134
--open-app <value> Open specified browser.
135+
--open-reset Clear all items provided in open configuration.
136+
--open-target-reset Clear all items provided in open.target configuration.
137+
--open-app-name-reset Clear all items provided in open.app.name configuration.
135138
--port <value> Specify a port number to listen for requests on.
136-
--public <value> When using dev server and you're proxying dev-server, the client script does not always know where to connect to. It will try to
137-
guess the URL of the server based on window.location, but if that fails you'll need to use this.
138-
--static [value...] It is possible to configure advanced options for serving static files from directory. See the Express documentation for the
139-
possible options.
139+
--public <value> When using dev server and you're proxying dev-server, the client script does not always know where to connect to. It will try to guess the URL of the
140+
server based on window.location, but if that fails you'll need to use this.
141+
--static [value...] It is possible to configure advanced options for serving static files from directory. See the Express documentation for the possible options.
140142
--no-static Negative 'static' option.
141143
--static-directory <value> Directory for static contents.
142144
--static-public-path <value...> The bundled files will be available in the browser under this path.
143145
--static-serve-index Tells dev-server to use serveIndex middleware when enabled.
144146
--no-static-serve-index Do not tell dev-server to use serveIndex middleware.
145147
--static-watch Watch for files in static content directory.
146148
--no-static-watch Do not watch for files in static content directory.
149+
--static-reset Clear all items provided in static configuration.
150+
--static-public-path-reset Clear all items provided in static.publicPath configuration.
147151
--watch-files <value...> List of files to watch for file changes and serve.
148152
--watch-files-paths <value...> List of files to watch for file changes and serve.
153+
--watch-files-reset Clear all items provided in watchFiles configuration.
154+
--watch-files-paths-reset Clear all items provided in watchFiles.paths configuration.
149155
150156
Global options:
151157
--color Enable colors on console.

0 commit comments

Comments
 (0)