Skip to main content

Module chunk

Module chunk 

Source

Modules§

availability_info
available_modules
chunk_group
chunk_id_strategy
chunking

Structs§

AsyncModuleInfo
ChunkData
ChunkDataOption
This is a transparent value type wrapping Option<ResolvedVc<ChunkData>>.
ChunkGroupContent
ChunkGroupContentInner
ChunkGroupResult
ChunkItemBatchGroup
ChunkItemBatchWithAsyncModuleInfo
ChunkItemWithAsyncModuleInfo
ChunkItems
This is a transparent value type wrapping Vec<ResolvedVc<Box<dyn ChunkItem>>>.
ChunkLoadRetry
ChunkingConfig
ChunkingConfigs
This is a transparent value type wrapping [FxHashMap<ResolvedVc<Box<dyn ChunkType>>,ChunkingConfig>].
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>>>.
MergeableModules
This is a transparent value type wrapping Vec<ResolvedVc<Box<dyn MergeableModule>>>.
MergeableModulesExposed
This is a transparent value type wrapping [`Vec<(ResolvedVc<Box>,MergeableModuleExposure,)
ModuleIds
This is a transparent value type wrapping Vec<ModuleId>. A list of module ids.
OutputChunkRuntimeInfo
Aggregated information about a chunk content that can be used by the runtime code to optimize chunk loading.
UnusedReferences
This is a transparent value type wrapping [FxHashMap<ResolvedVc<Box<dyn ModuleReference>>,FxHashSet< ResolvedVc<Box<dyn Module>>>>]. For each reference, the targets it resolves to that were dropped as unused. One reference can resolve to several targets, which are dropped independently.
UrlBehavior
URL behavior configuration for static assets.
WorkerConfigurationOptions

Enums§

AssetSuffix
Suffix to append to asset URLs.
ChunkGroupType
ChunkItemOrBatchWithAsyncModuleInfo
ChunkingType
Specifies how a chunk interacts with other chunks when building a chunk group
ContentHashing
CrossOrigin
MangleType
MergeableModuleExposure
Whether a given module needs to be exposed (depending on how it is imported by other modules)
MinifyType
ModuleId
A module id, which can be a number or string
SourceMapSourceType
SourceMapsType
TracedMode
Whether this reference is an entry point for a traced subgraph.

Traits§

Chunk
Groups 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 ChunkItem.
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
MergeableModule
A Module that can be merged with other Modules (to perform scope hoisting)
ModuleChunkItemIdExt
OutputChunk

Functions§

batch_info
round_chunk_item_size