Skip to main content
Version: 2x

Interface: GetPublicPathOptions

getPublicPath options.

Hierarchy

  • Pick<DevServerConfig, "enabled" | "host" | "https">

    GetPublicPathOptions

Table of contents

Properties

Properties

enabled

Optional enabled: boolean

Whether to start development server.

Inherited from

Pick.enabled

Defined in

packages/repack/src/types.ts:84


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

Pick.host

Defined in

packages/repack/src/types.ts:89


https

Optional https: boolean

Whether to run server on HTTPS instead of HTTP.

Inherited from

Pick.https

Defined in

packages/repack/src/types.ts:93


port

Optional port: number

Port under which to run the development server.

Defined in

packages/repack/src/webpack/utils/getPublicPath.ts:7