Skip to main content
Version: 2x

Interface: BaseDevServerConfig

BaseDevServer configuration options.

Hierarchy

Table of contents

Properties

Properties

cert

Optional cert: string

Path to certificate when running server on HTTPS.

Inherited from

DevServerOptions.cert

Defined in

packages/repack/src/types.ts:95


context

context: string

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

Defined in

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


enabled

Optional enabled: boolean

Whether to start development server.

Inherited from

DevServerOptions.enabled

Defined in

packages/repack/src/types.ts:84


hmr

Optional hmr: boolean

Whether to enable Hot Module Replacement.

Inherited from

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

DevServerOptions.host

Defined in

packages/repack/src/types.ts:89


https

Optional https: boolean

Whether to run server on HTTPS instead of HTTP.

Inherited from

DevServerOptions.https

Defined in

packages/repack/src/types.ts:93


key

Optional key: string

Path to certificate key when running server on HTTPS.

Inherited from

DevServerOptions.key

Defined in

packages/repack/src/types.ts:97


platform

platform: string

Target application 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

DevServerOptions.port

Defined in

packages/repack/src/types.ts:91