Skip to main content
Version: 3x

Interface: DevServerOptions

Development server configuration options.

Hierarchy

Table of contents

Properties

Properties

hmr

Optional hmr: boolean

Whether to enable Hot Module Replacement.

Defined in

packages/repack/src/types.ts:130


host

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'.

Defined in

packages/repack/src/types.ts:113


https

Optional https: Object

HTTPS options. If specified, the server will use HTTPS, otherwise HTTP.

Type declaration

NameTypeDescription
cert?stringPath to certificate when running server on HTTPS.
key?stringPath to certificate key when running server on HTTPS.

Defined in

packages/repack/src/types.ts:121


port

port: number

Port under which to run the development server. See: {@link DEFAULT_PORT}.

Defined in

packages/repack/src/types.ts:116