nx/docs/angular/api-web/executors/file-server.md
Craigory V Coppola a1ccc87a07
docs(misc): documentation headers should include collectionName for searchability (#6451)
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-07-21 11:40:59 -04:00

78 lines
876 B
Markdown

# @nrwl/web:file-server
Serve a web application from a folder
Options can be configured in `angular.json` when defining the executor, or when invoking it.
## Options
### buildTarget (_**required**_)
Type: `string`
Target which builds the application
### host
Default: `localhost`
Type: `string`
Host to listen on.
### maxParallel
Type: `number`
Max number of parallel jobs
### parallel
Default: `true`
Type: `boolean`
Build the target in parallel
### port
Default: `4200`
Type: `number`
Port to listen on.
### proxyUrl
Type: `string`
URL to proxy unhandled requests to.
### ssl
Default: `false`
Type: `boolean`
Serve using HTTPS.
### sslCert
Type: `string`
SSL certificate to use for serving HTTPS.
### sslKey
Type: `string`
SSL key to use for serving HTTPS.
### withDeps
Default: `true`
Type: `boolean`
Build the target and all its deps