Skip to main content
webpack / HotUpdateChunk

Class: HotUpdateChunk

Defined in: webpack/types.d.ts:6733

Extends

Constructors

Constructor

new HotUpdateChunk(): HotUpdateChunk
Defined in: webpack/types.d.ts:6734

Returns

HotUpdateChunk

Overrides

Chunk.constructor

Properties

auxiliaryFiles

auxiliaryFiles: Set<string>
Defined in: webpack/types.d.ts:1306

Inherited from

Chunk.auxiliaryFiles

chunkReason?

optional chunkReason: string
Defined in: webpack/types.d.ts:1311

Inherited from

Chunk.chunkReason

contentHash

contentHash: Record<string, string>
Defined in: webpack/types.d.ts:1309

Inherited from

Chunk.contentHash

cssFilenameTemplate?

optional cssFilenameTemplate: string | (pathData, assetInfo?) => string
Defined in: webpack/types.d.ts:1301

Inherited from

Chunk.cssFilenameTemplate

debugId

debugId: number
Defined in: webpack/types.d.ts:1294

Inherited from

Chunk.debugId

extraAsync

extraAsync: boolean
Defined in: webpack/types.d.ts:1312

Inherited from

Chunk.extraAsync

filenameTemplate?

optional filenameTemplate: string | (pathData, assetInfo?) => string
Defined in: webpack/types.d.ts:1298

Inherited from

Chunk.filenameTemplate

files

files: Set<string>
Defined in: webpack/types.d.ts:1305

Inherited from

Chunk.files

hash?

optional hash: string
Defined in: webpack/types.d.ts:1308

Inherited from

Chunk.hash

id

id: string | number
Defined in: webpack/types.d.ts:1292

Inherited from

Chunk.id

idNameHints

idNameHints: SortableSet<string>
Defined in: webpack/types.d.ts:1296

Inherited from

Chunk.idNameHints

ids

ids: ChunkId[]
Defined in: webpack/types.d.ts:1293

Inherited from

Chunk.ids

name?

optional name: string
Defined in: webpack/types.d.ts:1295

Inherited from

Chunk.name

preventIntegration

preventIntegration: boolean
Defined in: webpack/types.d.ts:1297

Inherited from

Chunk.preventIntegration

rendered

rendered: boolean
Defined in: webpack/types.d.ts:1307

Inherited from

Chunk.rendered

renderedHash?

optional renderedHash: string
Defined in: webpack/types.d.ts:1310

Inherited from

Chunk.renderedHash

runtime

runtime: RuntimeSpec
Defined in: webpack/types.d.ts:1304

Inherited from

Chunk.runtime

Accessors

entryModule

Get Signature

get entryModule(): Module
Defined in: webpack/types.d.ts:1317
Deprecated
Returns
Module

Inherited from

Chunk.entryModule

groupsIterable

Get Signature

get groupsIterable(): SortableSet<ChunkGroup>
Defined in: webpack/types.d.ts:1352
Returns
SortableSet<ChunkGroup>

Inherited from

Chunk.groupsIterable

modulesIterable

Get Signature

get modulesIterable(): Iterable<Module>
Defined in: webpack/types.d.ts:1322
Returns
Iterable<Module>

Inherited from

Chunk.modulesIterable

Methods

addGroup()

addGroup(chunkGroup): void
Defined in: webpack/types.d.ts:1348

Parameters

chunkGroup
ChunkGroup

Returns

void

Inherited from

Chunk.addGroup

addModule()

addModule(module): boolean
Defined in: webpack/types.d.ts:1319

Parameters

module
Module

Returns

boolean

Inherited from

Chunk.addModule

canBeInitial()

canBeInitial(): boolean
Defined in: webpack/types.d.ts:1345

Returns

boolean

Inherited from

Chunk.canBeInitial

canBeIntegrated()

canBeIntegrated(otherChunk): boolean
Defined in: webpack/types.d.ts:1329

Parameters

otherChunk
Chunk

Returns

boolean

Inherited from

Chunk.canBeIntegrated

compareTo()

compareTo(otherChunk): -1 | 0 | 1
Defined in: webpack/types.d.ts:1323

Parameters

otherChunk
Chunk

Returns

-1 | 0 | 1

Inherited from

Chunk.compareTo

containsModule()

containsModule(module): boolean
Defined in: webpack/types.d.ts:1324

Parameters

module
Module

Returns

boolean

Inherited from

Chunk.containsModule

disconnectFromGroups()

disconnectFromGroups(): void
Defined in: webpack/types.d.ts:1353

Returns

void

Inherited from

Chunk.disconnectFromGroups

getAllAsyncChunks()

getAllAsyncChunks(): Set<Chunk>
Defined in: webpack/types.d.ts:1356

Returns

Set<Chunk>

Inherited from

Chunk.getAllAsyncChunks

getAllInitialChunks()

getAllInitialChunks(): Set<Chunk>
Defined in: webpack/types.d.ts:1357

Returns

Set<Chunk>

Inherited from

Chunk.getAllInitialChunks

getAllReferencedAsyncEntrypoints()

getAllReferencedAsyncEntrypoints(): Set<Entrypoint>
Defined in: webpack/types.d.ts:1359

Returns

Set<Entrypoint>

Inherited from

Chunk.getAllReferencedAsyncEntrypoints

getAllReferencedChunks()

getAllReferencedChunks(): Set<Chunk>
Defined in: webpack/types.d.ts:1358

Returns

Set<Chunk>

Inherited from

Chunk.getAllReferencedChunks

getChildIdsByOrders()

getChildIdsByOrders(chunkGraph, filterFn?): Record<string, ChunkId[]>
Defined in: webpack/types.d.ts:1361

Parameters

chunkGraph
ChunkGraph
filterFn?
(c, chunkGraph) => boolean

Returns

Record<string, ChunkId[]>

Inherited from

Chunk.getChildIdsByOrders

getChildIdsByOrdersMap()

getChildIdsByOrdersMap(chunkGraph, includeDirectChildren?, filterFn?): ChunkChildIdsByOrdersMapByData
Defined in: webpack/types.d.ts:1369

Parameters

chunkGraph
ChunkGraph
includeDirectChildren?
boolean
filterFn?
(c, chunkGraph) => boolean

Returns

ChunkChildIdsByOrdersMapByData

Inherited from

Chunk.getChildIdsByOrdersMap

getChildrenOfTypeInOrder()

getChildrenOfTypeInOrder(chunkGraph, type): ChunkChildOfTypeInOrder[]
Defined in: webpack/types.d.ts:1365

Parameters

chunkGraph
ChunkGraph
type
string

Returns

ChunkChildOfTypeInOrder[]

Inherited from

Chunk.getChildrenOfTypeInOrder

getChunkMaps()

getChunkMaps(realHash): ChunkMaps
Defined in: webpack/types.d.ts:1343

Parameters

realHash
boolean

Returns

ChunkMaps

Deprecated

Inherited from

Chunk.getChunkMaps

getChunkModuleMaps()

getChunkModuleMaps(filterFn): ChunkModuleMaps
Defined in: webpack/types.d.ts:1334

Parameters

filterFn
(m) => boolean

Returns

ChunkModuleMaps

Inherited from

Chunk.getChunkModuleMaps

getEntryOptions()

getEntryOptions(): EntryOptions
Defined in: webpack/types.d.ts:1347

Returns

EntryOptions

Inherited from

Chunk.getEntryOptions

getModules()

getModules(): Module[]
Defined in: webpack/types.d.ts:1325

Returns

Module[]

Inherited from

Chunk.getModules

getNumberOfGroups()

getNumberOfGroups(): number
Defined in: webpack/types.d.ts:1351

Returns

number

Inherited from

Chunk.getNumberOfGroups

getNumberOfModules()

getNumberOfModules(): number
Defined in: webpack/types.d.ts:1321

Returns

number

Inherited from

Chunk.getNumberOfModules

hasAsyncChunks()

hasAsyncChunks(): boolean
Defined in: webpack/types.d.ts:1360

Returns

boolean

Inherited from

Chunk.hasAsyncChunks

hasChildByOrder()

hasChildByOrder(chunkGraph, type, includeDirectChildren?, filterFn?): boolean
Defined in: webpack/types.d.ts:1374

Parameters

chunkGraph
ChunkGraph
type
string
includeDirectChildren?
boolean
filterFn?
(c, chunkGraph) => boolean

Returns

boolean

Inherited from

Chunk.hasChildByOrder

hasEntryModule()

hasEntryModule(): boolean
Defined in: webpack/types.d.ts:1318

Returns

boolean

Inherited from

Chunk.hasEntryModule

hasModuleInGraph()

hasModuleInGraph(filterFn, filterChunkFn?): boolean
Defined in: webpack/types.d.ts:1335

Parameters

filterFn
(m) => boolean
filterChunkFn?
(c, chunkGraph) => boolean

Returns

boolean

Inherited from

Chunk.hasModuleInGraph

hasRuntime()

hasRuntime(): boolean
Defined in: webpack/types.d.ts:1344

Returns

boolean

Inherited from

Chunk.hasRuntime

integrate()

integrate(otherChunk): boolean
Defined in: webpack/types.d.ts:1328

Parameters

otherChunk
Chunk

Returns

boolean

Inherited from

Chunk.integrate

integratedSize()

integratedSize(otherChunk, options): number
Defined in: webpack/types.d.ts:1333

Parameters

otherChunk
Chunk
options
ChunkSizeOptions

Returns

number

Inherited from

Chunk.integratedSize

isEmpty()

isEmpty(): boolean
Defined in: webpack/types.d.ts:1330

Returns

boolean

Inherited from

Chunk.isEmpty

isInGroup()

isInGroup(chunkGroup): boolean
Defined in: webpack/types.d.ts:1350

Parameters

chunkGroup
ChunkGroup

Returns

boolean

Inherited from

Chunk.isInGroup

isOnlyInitial()

isOnlyInitial(): boolean
Defined in: webpack/types.d.ts:1346

Returns

boolean

Inherited from

Chunk.isOnlyInitial

modulesSize()

modulesSize(): number
Defined in: webpack/types.d.ts:1331

Returns

number

Inherited from

Chunk.modulesSize

moveModule()

moveModule(module, otherChunk): void
Defined in: webpack/types.d.ts:1327

Parameters

module
Module
otherChunk
Chunk

Returns

void

Inherited from

Chunk.moveModule

remove()

remove(): void
Defined in: webpack/types.d.ts:1326

Returns

void

Inherited from

Chunk.remove

removeGroup()

removeGroup(chunkGroup): void
Defined in: webpack/types.d.ts:1349

Parameters

chunkGroup
ChunkGroup

Returns

void

Inherited from

Chunk.removeGroup

removeModule()

removeModule(module): void
Defined in: webpack/types.d.ts:1320

Parameters

module
Module

Returns

void

Inherited from

Chunk.removeModule

size()

size(options?): number
Defined in: webpack/types.d.ts:1332

Parameters

options?
ChunkSizeOptions

Returns

number

Inherited from

Chunk.size

split()

split(newChunk): void
Defined in: webpack/types.d.ts:1354

Parameters

newChunk
Chunk

Returns

void

Inherited from

Chunk.split

updateHash()

updateHash(hash, chunkGraph): void
Defined in: webpack/types.d.ts:1355

Parameters

hash
Hash
chunkGraph
ChunkGraph

Returns

void

Inherited from

Chunk.updateHash