Interface: DevServerConfig

DevServer configuration options.

Hierarchy

Table of contents

Properties

Properties

cert

Optional cert: string

Path to certificate when running server on HTTPS.

Inherited from

BaseDevServerConfig.cert

Defined in

packages/repack/src/types.ts:95


context

context: string

Context in which all resolution happens. Usually it's project root directory.

Inherited from

BaseDevServerConfig.context

Defined in

packages/repack/src/server/BaseDevServer.ts:22


enabled

Optional enabled: boolean

Whether to start development server.

Inherited from

BaseDevServerConfig.enabled

Defined in

packages/repack/src/types.ts:84


hmr

Optional hmr: boolean

Whether to enable Hot Module Replacement.

Inherited from

BaseDevServerConfig.hmr

Defined in

packages/repack/src/types.ts:99


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

Inherited from

BaseDevServerConfig.host

Defined in

packages/repack/src/types.ts:89


https

Optional https: boolean

Whether to run server on HTTPS instead of HTTP.

Inherited from

BaseDevServerConfig.https

Defined in

packages/repack/src/types.ts:93


key

Optional key: string

Path to certificate key when running server on HTTPS.

Inherited from

BaseDevServerConfig.key

Defined in

packages/repack/src/types.ts:97


platform

platform: string

Target application platform.

Inherited from

BaseDevServerConfig.platform

Defined in

packages/repack/src/server/BaseDevServer.ts:24


port

port: number

Port under which to run the development server. See: DEFAULT_PORT.

Inherited from

BaseDevServerConfig.port

Defined in

packages/repack/src/types.ts:91