BaseDevServer configuration options.
↳ BaseDevServerConfig
• Optional
cert: string
Path to certificate when running server on HTTPS.
packages/repack/src/types.ts:95
• context: string
Context in which all resolution happens. Usually it's project root directory.
packages/repack/src/server/BaseDevServer.ts:22
• 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
• platform: string
Target application platform.
packages/repack/src/server/BaseDevServer.ts:24
• port: number
Port under which to run the development server. See: DEFAULT_PORT.