Abstract Class: Entrypoint
Defined in: webpack/types.d.ts:4964Extends
Constructors
Constructor
new Entrypoint(): Entrypoint
Returns
Entrypoint
Inherited from
ChunkGroup.constructor
Properties
chunks
chunks: Chunk[]
Defined in: webpack/types.d.ts:1599
Inherited from
ChunkGroup.chunks
getModuleIndex()
getModuleIndex: (Defined in: webpack/types.d.ts:1698module) =>number
Parameters
module
Module
Returns
number
Inherited from
ChunkGroup.getModuleIndex
getModuleIndex2()
getModuleIndex2: (Defined in: webpack/types.d.ts:1699module) =>number
Parameters
module
Module
Returns
number
Inherited from
ChunkGroup.getModuleIndex2
groupDebugId
groupDebugId: number
Defined in: webpack/types.d.ts:1597
Inherited from
ChunkGroup.groupDebugId
index?
Defined in: webpack/types.d.ts:1601optionalindex:number
Inherited from
ChunkGroup.index
name?
Defined in: webpack/types.d.ts:1612 returns the name of current ChunkGroup sets a new name for current ChunkGroupoptionalname:string
Inherited from
ChunkGroup.name
options
options: ChunkGroupOptions
Defined in: webpack/types.d.ts:1598
Inherited from
ChunkGroup.options
origins
origins: OriginRecord[]
Defined in: webpack/types.d.ts:1600
Inherited from
ChunkGroup.origins
Accessors
asyncEntrypointsIterable
Get Signature
get asyncEntrypointsIterable():Defined in: webpack/types.d.ts:1653SortableSet<ChunkGroup>
Returns
SortableSet<ChunkGroup>
Inherited from
ChunkGroup.asyncEntrypointsIterable
blocksIterable
Get Signature
get blocksIterable():Defined in: webpack/types.d.ts:1657Iterable<AsyncDependenciesBlock>
Returns
Iterable<AsyncDependenciesBlock>
Inherited from
ChunkGroup.blocksIterable
childrenIterable
Get Signature
get childrenIterable():Defined in: webpack/types.d.ts:1644SortableSet<ChunkGroup>
Returns
SortableSet<ChunkGroup>
Inherited from
ChunkGroup.childrenIterable
debugId
Get Signature
get debugId(): string
Defined in: webpack/types.d.ts:1617
get a uniqueId for ChunkGroup, made up of its member Chunk debugId’s
Returns
string
Inherited from
ChunkGroup.debugId
id
Get Signature
get id(): string
Defined in: webpack/types.d.ts:1622
get a unique id for ChunkGroup, made up of its member Chunk id’s
Returns
string
Inherited from
ChunkGroup.id
parentsIterable
Get Signature
get parentsIterable():Defined in: webpack/types.d.ts:1650SortableSet<ChunkGroup>
Returns
SortableSet<ChunkGroup>
Inherited from
ChunkGroup.parentsIterable
Methods
addAsyncEntrypoint()
addAsyncEntrypoint(Defined in: webpack/types.d.ts:1652entrypoint):boolean
Parameters
entrypoint
Entrypoint
Returns
boolean
Inherited from
ChunkGroup.addAsyncEntrypoint
addBlock()
addBlock(Defined in: webpack/types.d.ts:1658block):boolean
Parameters
block
AsyncDependenciesBlock
Returns
boolean
Inherited from
ChunkGroup.addBlock
addChild()
addChild(Defined in: webpack/types.d.ts:1641group):boolean
Parameters
group
ChunkGroup
Returns
boolean
Inherited from
ChunkGroup.addChild
addDependOn()
addDependOn(Defined in: webpack/types.d.ts:4985entrypoint):void
Parameters
entrypoint
Entrypoint
Returns
void
addOptions()
addOptions(Defined in: webpack/types.d.ts:1606 when a new chunk is added to a chunkGroup, addingOptions will occur.options):void
Parameters
options
ChunkGroupOptions
Returns
void
Inherited from
ChunkGroup.addOptions
addOrigin()
addOrigin(Defined in: webpack/types.d.ts:1659module,loc,request):void
Parameters
module
Module
loc
DependencyLocation
request
string
Returns
void
Inherited from
ChunkGroup.addOrigin
addParent()
addParent(Defined in: webpack/types.d.ts:1646parentChunk):boolean
Parameters
parentChunk
ChunkGroup
Returns
boolean
Inherited from
ChunkGroup.addParent
checkConstraints()
checkConstraints(): void
Defined in: webpack/types.d.ts:1697
Returns
void
Inherited from
ChunkGroup.checkConstraints
compareTo()
compareTo(Defined in: webpack/types.d.ts:1672 Sorting predicate which allows current ChunkGroup to be compared against another. Sorting values are based off of number of chunks in ChunkGroup.chunkGraph,otherGroup):-1|0|1
Parameters
chunkGraph
ChunkGraph
otherGroup
ChunkGroup
Returns
-1 | 0 | 1
Inherited from
ChunkGroup.compareTo
dependOn()
dependOn(Defined in: webpack/types.d.ts:4986entrypoint):boolean
Parameters
entrypoint
Entrypoint
Returns
boolean
getBlocks()
getBlocks(): AsyncDependenciesBlock[]
Defined in: webpack/types.d.ts:1654
Returns
AsyncDependenciesBlock[]
Inherited from
ChunkGroup.getBlocks
getChildren()
getChildren(): ChunkGroup[]
Defined in: webpack/types.d.ts:1642
Returns
ChunkGroup[]
Inherited from
ChunkGroup.getChildren
getChildrenByOrders()
getChildrenByOrders(Defined in: webpack/types.d.ts:1673moduleGraph,chunkGraph):Record<string,ChunkGroup[]>
Parameters
moduleGraph
ModuleGraph
chunkGraph
ChunkGraph
Returns
Record<string, ChunkGroup[]>
Inherited from
ChunkGroup.getChildrenByOrders
getEntrypointChunk()
getEntrypointChunk(): Chunk
Defined in: webpack/types.d.ts:4984
Returns the chunk which contains the entrypoint modules
(or at least the execution of them)
Returns
Chunk
getFiles()
getFiles(): string[]
Defined in: webpack/types.d.ts:1664
Returns
string[]
Inherited from
ChunkGroup.getFiles
getModulePostOrderIndex()
getModulePostOrderIndex(Defined in: webpack/types.d.ts:1696 Gets the bottom-up index of a module in this ChunkGroupmodule):number
Parameters
module
Module
Returns
number
Inherited from
ChunkGroup.getModulePostOrderIndex
getModulePreOrderIndex()
getModulePreOrderIndex(Defined in: webpack/types.d.ts:1686 Gets the top-down index of a module in this ChunkGroupmodule):number
Parameters
module
Module
Returns
number
Inherited from
ChunkGroup.getModulePreOrderIndex
getNumberOfBlocks()
getNumberOfBlocks(): number
Defined in: webpack/types.d.ts:1655
Returns
number
Inherited from
ChunkGroup.getNumberOfBlocks
getNumberOfChildren()
getNumberOfChildren(): number
Defined in: webpack/types.d.ts:1643
Returns
number
Inherited from
ChunkGroup.getNumberOfChildren
getNumberOfParents()
getNumberOfParents(): number
Defined in: webpack/types.d.ts:1648
Returns
number
Inherited from
ChunkGroup.getNumberOfParents
getParents()
getParents(): ChunkGroup[]
Defined in: webpack/types.d.ts:1647
Returns
ChunkGroup[]
Inherited from
ChunkGroup.getParents
getRuntimeChunk()
getRuntimeChunk(): Chunk
Defined in: webpack/types.d.ts:4973
Fetches the chunk reference containing the webpack bootstrap code
Returns
Chunk
hasBlock()
hasBlock(Defined in: webpack/types.d.ts:1656block):boolean
Parameters
block
AsyncDependenciesBlock
Returns
boolean
Inherited from
ChunkGroup.hasBlock
hasParent()
hasParent(Defined in: webpack/types.d.ts:1649parent):boolean
Parameters
parent
ChunkGroup
Returns
boolean
Inherited from
ChunkGroup.hasParent
insertChunk()
insertChunk(Defined in: webpack/types.d.ts:1632 inserts a chunk before another existing chunk in groupchunk,before):boolean
Parameters
chunk
Chunk
before
Chunk
Returns
boolean
Inherited from
ChunkGroup.insertChunk
isInitial()
isInitial(): boolean
Defined in: webpack/types.d.ts:1640
Returns
boolean
Inherited from
ChunkGroup.isInitial
pushChunk()
pushChunk(Defined in: webpack/types.d.ts:1637 add a chunk into ChunkGroup. Is pushed on or prependedchunk):boolean
Parameters
chunk
Chunk
Returns
boolean
Inherited from
ChunkGroup.pushChunk
remove()
remove(): void
Defined in: webpack/types.d.ts:1665
Returns
void
Inherited from
ChunkGroup.remove
removeChild()
removeChild(Defined in: webpack/types.d.ts:1645group):boolean
Parameters
group
ChunkGroup
Returns
boolean
Inherited from
ChunkGroup.removeChild
removeChunk()
removeChunk(Defined in: webpack/types.d.ts:1639chunk):boolean
Parameters
chunk
Chunk
Returns
boolean
Inherited from
ChunkGroup.removeChunk
removeParent()
removeParent(Defined in: webpack/types.d.ts:1651chunkGroup):boolean
Parameters
chunkGroup
ChunkGroup
Returns
boolean
Inherited from
ChunkGroup.removeParent
replaceChunk()
replaceChunk(Defined in: webpack/types.d.ts:1638oldChunk,newChunk):boolean
Parameters
oldChunk
Chunk
newChunk
Chunk
Returns
boolean
Inherited from
ChunkGroup.replaceChunk
setEntrypointChunk()
setEntrypointChunk(Defined in: webpack/types.d.ts:4978 Sets the chunk with the entrypoint modules for an entrypoint.chunk):void
Parameters
chunk
Chunk
Returns
void
setModulePostOrderIndex()
setModulePostOrderIndex(Defined in: webpack/types.d.ts:1691 Sets the bottom-up index of a module in this ChunkGroupmodule,index):void
Parameters
module
Module
index
number
Returns
void
Inherited from
ChunkGroup.setModulePostOrderIndex
setModulePreOrderIndex()
setModulePreOrderIndex(Defined in: webpack/types.d.ts:1681 Sets the top-down index of a module in this ChunkGroupmodule,index):void
Parameters
module
Module
index
number
Returns
void
Inherited from
ChunkGroup.setModulePreOrderIndex
setRuntimeChunk()
setRuntimeChunk(Defined in: webpack/types.d.ts:4968 Sets the runtimeChunk for an entrypoint.chunk):void
Parameters
chunk
Chunk
Returns
void
sortItems()
sortItems(): void
Defined in: webpack/types.d.ts:1666
Returns
void
Inherited from
ChunkGroup.sortItems
unshiftChunk()
unshiftChunk(Defined in: webpack/types.d.ts:1627 Performs an unshift of a specific chunkchunk):boolean
Parameters
chunk
Chunk
Returns
boolean
Inherited from
ChunkGroup.unshiftChunk