Modules§
- availability_
info - available_
modules - chunk_
group - chunking
- module_
id_ strategies - optimize
- Traits and functions to optimize a list of chunks.
Structs§
- Async
Module Info - Chunk
Data - Chunk
Data Option - This is a transparent value type wrapping
Option<ResolvedVc<ChunkData>>
. - Chunk
Group Content - Chunk
Group Result - Chunk
Item Batch Group - Chunk
Item Batch With Async Module Info - Chunk
Item With Async Module Info - Chunk
Items - This is a transparent value type wrapping
Vec<ResolvedVc<Box<dyn ChunkItem>>>
. - Chunk
Items With Async Module Info - This is a transparent value type wrapping
Vec<ChunkItemWithAsyncModuleInfo>
. - Chunkable
Modules - This is a transparent value type wrapping
Vec<ResolvedVc<Box<dyn ChunkableModule>>>
. - Chunking
Config - Chunking
Configs - This is a transparent value type wrapping [
FxHashMap<ResolvedVc<Box<dyn ChunkType>>,ChunkingConfig>
]. - Chunking
Type Option - This is a transparent value type wrapping
Option<ChunkingType>
. - Chunks
- This is a transparent value type wrapping
Vec<ResolvedVc<Box<dyn Chunk>>>
. - Chunks
Data - This is a transparent value type wrapping
Vec<ResolvedVc<ChunkData>>
. - Entry
Chunk Group Result - Evaluatable
Assets - This is a transparent value type wrapping
Vec<ResolvedVc<Box<dyn EvaluatableAsset>>>
. - Module
Ids - A list of module ids.
- Output
Chunk Runtime Info - Aggregated information about a chunk content that can be used by the runtime code to optimize chunk loading.
Enums§
- Chunk
Group Type - Chunk
Item OrBatch With Async Module Info - Chunking
Type - Specifies how a chunk interacts with other chunks when building a chunk group
- Mangle
Type - Minify
Type - Module
Id - A module id, which can be a number or string
- Source
Maps Type
Traits§
- Chunk
- A Chunk group chunk items together into something that will become an [OutputAsset]. It usually contains multiple chunk items.
- Chunk
Item - Chunk
Item Ext - Chunk
Type - Chunkable
Module - A Module that can be converted into a Chunk.
- Chunkable
Module Reference - 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.
- Chunking
Context - A context for the chunking that influences the way chunks are created
- Chunking
Context Ext - Evaluatable
Asset - Marker trait for the chunking context to accept evaluated entries.
- Evaluatable
Asset Ext - Module
Chunk Item IdExt - Output
Chunk