Skip to content

Interface: OutputChunk

The information about a chunk in the generated bundle.

Extends

  • ExternalMemoryHandle

Properties

code

  • Type: string

The generated code of this chunk.


dynamicImports

  • Type: string[]

External modules imported dynamically by this chunk.


exports

  • Type: string[]

Exported variable names from this chunk.


facadeModuleId

  • Type: string | null

The id of a module that this chunk corresponds to.


fileName

  • Type: string

The file name of this chunk.


imports

  • Type: string[]

External modules imported statically by this chunk.


isDynamicEntry

  • Type: boolean

Whether this chunk is a dynamic entry point.


isEntry

  • Type: boolean

Whether this chunk is a static entry point.


map

The source map of this chunk if present.


moduleIds

  • Type: string[]

modules

Information about the modules included in this chunk.

Index Signature

[id: string]: RenderedModule


name

  • Type: string

The name of this chunk, which is used in naming patterns.


preliminaryFileName

  • Type: string

The preliminary file name of this chunk with hash placeholders.


sourcemapFileName

  • Type: string | null

type

  • Type: "chunk"