Modules§
Structs§
- Async
Module Info - Chunk
Data - Chunk
Data Option - This is a transparent value type wrapping
Option<ResolvedVc<ChunkData>>. - Chunk
Group Content - Chunk
Group Content Inner - The modules (soon to be chunk items) that were discovered after traversing a given chunk group.
- 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
Load Retry - Chunking
Config - Chunking
Configs - 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>>>. - 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>>>. - Mergeable
Modules - This is a transparent value type wrapping
Vec<ResolvedVc<Box<dyn MergeableModule>>>. - Mergeable
Modules Exposed - This is a transparent value type wrapping [`Vec<(ResolvedVc<Box
>,MergeableModuleExposure,) - Module
Ids - This is a transparent value type wrapping
Vec<ModuleId>. 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.
- Unused
References - 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.
- Worker
Configuration Options
Enums§
- Asset
Suffix - Suffix to append to asset URLs.
- 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
- Content
Hashing - Cross
Origin - HmrChunk
List Source - turbopack-browser needs to know the original source of the hmr chunk list to properly map to a EcmascriptDevChunkListSource and provide the correct updates. This maps one to one with that. We could consider lifting EcmascriptDevChunkListSource to core instead if this grows. Or using this type in browser instead.
- Mangle
Type - Mergeable
Module Exposure - Whether a given module needs to be exposed (depending on how it is imported by other modules)
- Minify
Type - Module
Id - A module id, which can be a number or string
- Source
MapSource Type - Source
Maps Type - Traced
Mode - 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. - Chunk
Item - Chunk
Item Ext - Chunk
Type - Chunkable
Module - A Module that can be converted into a ChunkItem.
- 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 - Mergeable
Module - A Module that can be merged with other Modules (to perform scope hoisting)
- Module
Chunk Item IdExt - Output
Chunk