Development server configuration options.
Used by DevServerPlugin, BaseDevServer, DevServer and DevServerProxy.
DevServerOptions
• Optional
cert: string
Path to certificate when running server on HTTPS.
packages/repack/src/types.ts:95
• Optional
enabled: boolean
Whether to start development server.
packages/repack/src/types.ts:84
• Optional
hmr: boolean
Whether to enable Hot Module Replacement.
packages/repack/src/types.ts:99
• Optional
host: string
Hostname or IP address under which to run the development server. When left unspecified, it will listen on all available network interfaces, similarly to listening on '0.0.0.0'.
packages/repack/src/types.ts:89
• Optional
https: boolean
Whether to run server on HTTPS instead of HTTP.
packages/repack/src/types.ts:93
• Optional
key: string
Path to certificate key when running server on HTTPS.
packages/repack/src/types.ts:97
• port: number
Port under which to run the development server. See: DEFAULT_PORT.