@nrwl/web:file-server
Serve a web application from a folder.
Options can be configured in project.json
when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/configuration/projectjson#targets.
Options playground
This is an example of what the properties looks like and their values. Go ahead and try, test your configuration this is a live-edit window, you can interact directly and get intellisense on property's values.
Options
buildTarget
Target which builds the application.
host
localhost
Host to listen on.
maxParallel
Max number of parallel jobs.
parallel
true
Build the target in parallel.
port
4200
Port to listen on.
proxyUrl
URL to proxy unhandled requests to.
ssl
false
Serve using HTTPS
.
sslKey
SSL key to use for serving HTTPS
.
sslCert
SSL certificate to use for serving HTTPS
.
withDeps
false
Build the target and all its deps
"withDeps" is deprecated and it will be removed in v14
. Configure target dependencies instead: https://nx.dev/configuration/projectjson.