Interface: ReactRefreshPluginConfig

plugins.ReactRefreshPluginConfig

ReactRefreshPlugin configuration options.

Hierarchy

Table of contents

Properties

Properties

hmr

Optional hmr: boolean

Whether to enable Hot Module Replacement.

Inherited from

DevServerOptions.hmr

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

Inherited from

DevServerOptions.host

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

Name Type Description
cert? string Path to certificate when running server on HTTPS.
key? string Path to certificate key when running server on HTTPS.

Inherited from

DevServerOptions.https

Defined in

packages/repack/src/types.ts:121


platform

platform: string

Defined in

packages/repack/src/webpack/plugins/ReactRefreshPlugin.ts:18


port

port: number

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

Inherited from

DevServerOptions.port

Defined in

packages/repack/src/types.ts:116