Module chunk

Source

Modules§

availability_info
available_modules
chunk_group
chunking
module_id_strategies
optimize
Traits and functions to optimize a list of chunks.

Structs§

AsyncModuleInfo
ChunkData
ChunkDataOption
This is a transparent value type wrapping Option<ResolvedVc<ChunkData>>.
ChunkGroupContent
ChunkGroupResult
ChunkItemBatchGroup
ChunkItemBatchWithAsyncModuleInfo
ChunkItemWithAsyncModuleInfo
ChunkItems
This is a transparent value type wrapping Vec<ResolvedVc<Box<dyn ChunkItem>>>.
ChunkItemsWithAsyncModuleInfo
This is a transparent value type wrapping Vec<ChunkItemWithAsyncModuleInfo>.
ChunkableModules
This is a transparent value type wrapping Vec<ResolvedVc<Box<dyn ChunkableModule>>>.
ChunkingConfig
ChunkingConfigs
This is a transparent value type wrapping [FxHashMap<ResolvedVc<Box<dyn ChunkType>>,ChunkingConfig>].
ChunkingTypeOption
This is a transparent value type wrapping Option<ChunkingType>.
Chunks
This is a transparent value type wrapping Vec<ResolvedVc<Box<dyn Chunk>>>.
ChunksData
This is a transparent value type wrapping Vec<ResolvedVc<ChunkData>>.
EntryChunkGroupResult
EvaluatableAssets
This is a transparent value type wrapping Vec<ResolvedVc<Box<dyn EvaluatableAsset>>>.
ModuleIds
A list of module ids.
OutputChunkRuntimeInfo
Aggregated information about a chunk content that can be used by the runtime code to optimize chunk loading.

Enums§

ChunkGroupType
ChunkItemOrBatchWithAsyncModuleInfo
ChunkingType
Specifies how a chunk interacts with other chunks when building a chunk group
MangleType
MinifyType
ModuleId
A module id, which can be a number or string
SourceMapsType

Traits§

Chunk
A Chunk group chunk items together into something that will become an [OutputAsset]. It usually contains multiple chunk items.
ChunkItem
ChunkItemExt
ChunkType
ChunkableModule
A Module that can be converted into a Chunk.
ChunkableModuleReference
A ModuleReference implementing this trait and returning Some(_) for ChunkableModuleReference::chunking_type are considered as potentially chunkable references. When all Modules of such a reference implement ChunkableModule they are placed in Chunks during chunking. They are even potentially placed in the same Chunk when a chunk type specific interface is implemented.
ChunkingContext
A context for the chunking that influences the way chunks are created
ChunkingContextExt
EvaluatableAsset
Marker trait for the chunking context to accept evaluated entries.
EvaluatableAssetExt
ModuleChunkItemIdExt
OutputChunk

Functions§

batch_info
round_chunk_item_size