Hierarchy

Constructors

Properties

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

Type declaration

    • (module): number
    • Parameters

      Returns number

getModuleIndex2: ((module) => number)

Type declaration

    • (module): number
    • Parameters

      Returns 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

  • Parameters

    Returns 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

  • 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 any[]

  • Returns string[]

  • Gets the bottom-up index of a module in this ChunkGroup

    Parameters

    Returns number

  • Gets the top-down index of a module in this ChunkGroup

    Parameters

    Returns number

  • Returns number

  • Returns number

  • Returns number

  • Parameters

    • Optional block: any

    Returns boolean

  • Parameters

    Returns boolean

  • inserts a chunk before another existing chunk in group

    Parameters

    Returns boolean

  • Returns boolean

  • add a chunk into ChunkGroup. Is pushed on or prepended

    Parameters

    Returns boolean

  • Returns void

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Sets the bottom-up index of a module in this ChunkGroup

    Parameters

    Returns void

  • Sets the top-down index of a module in this ChunkGroup

    Parameters

    Returns void

  • Returns void

  • Performs an unshift of a specific chunk

    Parameters

    Returns boolean

Generated using TypeDoc