Skip to main content
Version: 2x

Interface: OutputPluginConfig

OutputPlugin configuration options.

Table of contents

Properties

Properties

devServerEnabled

Optional devServerEnabled: boolean

Whether the development server is enabled and running.

Defined in

packages/repack/src/webpack/plugins/OutputPlugin.ts:14


entry

Optional entry: string

The entry chunk name, 'main' by default.

Defined in

packages/repack/src/webpack/plugins/OutputPlugin.ts:30


localChunks

Optional localChunks: Rule | Rule[]

Mark all chunks as a local chunk, meaning they will be bundled into the .ipa/.apk file. All chunks not matched by the rule(s) will become a remote one.

Defined in

packages/repack/src/webpack/plugins/OutputPlugin.ts:19


platform

platform: string

Target application platform.

Defined in

packages/repack/src/webpack/plugins/OutputPlugin.ts:12


remoteChunksOutput

Optional remoteChunksOutput: string

Output directory for all remote chunks and assets that are not bundled into the .ipa/.apk file. When left unspecified (undefined), the files will be available under output.path, next to the main/index bundle and other local chunks.

Defined in

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