Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

chunks: Chunk[]
getModuleIndex: (module: Module) => undefined | number

Type declaration

    • (module: Module): undefined | number
    • Parameters

      Returns undefined | number

getModuleIndex2: (module: Module) => undefined | number

Type declaration

    • (module: Module): undefined | number
    • Parameters

      Returns undefined | number

groupDebugId: number
index?: number
name?: string

returns the name of current ChunkGroup sets a new name for current ChunkGroup

origins: OriginRecord[]

Accessors

  • get debugId(): string
  • get a uniqueId for ChunkGroup, made up of its member Chunk debugId's

    Returns string

  • get id(): string
  • get a unique id for ChunkGroup, made up of its member Chunk id's

    Returns string

Methods

  • addAsyncEntrypoint(entrypoint: Entrypoint): boolean
  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • when a new chunk is added to a chunkGroup, addingOptions will occur.

    Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns boolean

  • checkConstraints(): void
  • Returns void

  • Sorting predicate which allows current ChunkGroup to be compared against another. Sorting values are based off of number of chunks in ChunkGroup.

    Parameters

    Returns 0 | 1 | -1

  • Returns ChunkGroup[]

  • getFiles(): string[]
  • Returns string[]

  • getModulePostOrderIndex(module: Module): undefined | number
  • Gets the bottom-up index of a module in this ChunkGroup

    Parameters

    Returns undefined | number

  • getModulePreOrderIndex(module: Module): undefined | number
  • Gets the top-down index of a module in this ChunkGroup

    Parameters

    Returns undefined | number

  • getNumberOfBlocks(): number
  • Returns number

  • getNumberOfChildren(): number
  • Returns number

  • getNumberOfParents(): number
  • Returns number

  • Returns ChunkGroup[]

  • Parameters

    Returns boolean

  • inserts a chunk before another existing chunk in group

    Parameters

    Returns boolean

  • isInitial(): boolean
  • Returns boolean

  • pushChunk(chunk: Chunk): boolean
  • add a chunk into ChunkGroup. Is pushed on or prepended

    Parameters

    Returns boolean

  • remove(): void
  • Returns void

  • Parameters

    Returns boolean

  • removeChunk(chunk: Chunk): boolean
  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • replaceChunk(oldChunk: Chunk, newChunk: Chunk): boolean
  • Parameters

    Returns boolean

  • setModulePostOrderIndex(module: Module, index: number): void
  • Sets the bottom-up index of a module in this ChunkGroup

    Parameters

    Returns void

  • setModulePreOrderIndex(module: Module, index: number): void
  • Sets the top-down index of a module in this ChunkGroup

    Parameters

    Returns void

  • sortItems(): void
  • Returns void

  • unshiftChunk(chunk: Chunk): boolean
  • Performs an unshift of a specific chunk

    Parameters

    Returns boolean