Interface: DevServerPluginConfig

DevServerPlugin configuration options.

Hierarchy

Table of contents

Properties

Properties

cert

Optional cert: string

Path to certificate when running server on HTTPS.

Inherited from

Omit.cert

Defined in

packages/repack/src/types.ts:95


enabled

Optional enabled: boolean

Whether to run development server or not.

Overrides

Omit.enabled

Defined in

packages/repack/src/webpack/plugins/DevServerPlugin/DevServerPlugin.ts:22


hmr

Optional hmr: boolean

Whether Hot Module Replacement / React Refresh should be enabled. Defaults to true.

Overrides

Omit.hmr

Defined in

packages/repack/src/webpack/plugins/DevServerPlugin/DevServerPlugin.ts:26


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

Omit.host

Defined in

packages/repack/src/types.ts:89


https

Optional https: boolean

Whether to run server on HTTPS instead of HTTP.

Inherited from

Omit.https

Defined in

packages/repack/src/types.ts:93


key

Optional key: string

Path to certificate key when running server on HTTPS.

Inherited from

Omit.key

Defined in

packages/repack/src/types.ts:97


platform

platform: string

Target application platform.

Inherited from

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

Omit.port

Defined in

packages/repack/src/types.ts:91