Re-exports§
pub use bundler_options::*;
Modules§
- bundler_
options - This module is to help
rolldowncrate could export types related bundler options easily.rolldowncrate could usepub use rolldown_common::bundler_options::*;to export all types, so we don’t need write the same code inrolldowncrate again. - dynamic_
import_ usage - side_
effects
Structs§
- AddEntry
Module Msg - Addon
Render Context - Asset
- Assets is final output of the bundling process. Inputs -> Modules -> Chunks -> Assets
- Asset
View - AstScope
Idx - AstScopes
- Chunk
- Chunk
Idx - Chunk
Meta - Chunk
Table - Client
HmrInput - Client
HmrUpdate - Const
Export Meta - Cross
Chunk Import Item - CssAsset
Meta - CssAsset
Name Replacer - CssRenderer
- CssView
- Debug
Stmt Info ForTree Shaking - Defer
Sync Scan Data - Dynamic
Import Expr Info - Information about a dynamic import expression, used to track the relationship between an import record and its source location in the AST.
- Ecma
Asset Meta - Ecma
Module AstUsage - Ecma
Related - Ecma
View - Ecma
View Meta - Emitted
Asset - Emitted
Chunk - Emitted
Chunk Info - Emitted
Prebuilt Chunk - Entry
Point - External
Module - External
Module Idx - External
Module Task Result - File
Emitter - Flat
Options - A flat options struct to avoid passing
&SharedNormalizedBundlerOptionseverywhere. which also make accessing frequently used options faster. - HmrBoundary
- HmrBoundary
Output - HmrInfo
- HmrPatch
- Import
Attribute - Import
Meta Rolldown Asset Replacer - Import
Record Idx - Import
Record Meta - Importer
Record - InsChunk
Idx - Instantiated
Chunk InstantiatedChunks are derived fromChunks. DifferentInstantiatedChunks can be derived from the sameChunkby differentGenerators.- Local
Export - This is a representation for statements like
- Member
Expr Ref - For member expression, e.g.
foo_ns.bar_ns.c - Member
Expr RefResolution - Module
Group - Module
Id ModuleIdis the unique string identifier for each module.- Module
Idx - Module
Info - Module
Namespace Included Reason - Module
Render Output - Module
Table - Modules
- Named
Import - This is a representation for statements like
- Namespace
Alias - Normal
Module - Normal
Module Task Result - Output
Asset - Output
Chunk - Outputs
Diagnostics - Package
Json - Plugin
Idx - Preliminary
Filename - Represents a filename that might contains hash placeholder.
- Prepend
Rendered Import - Rendered
Concatenated Module Parts - Rendered
Module - Resolved
Export - Resolved
Id - Rollup
PreRendered Asset - Rollup
PreRendered Chunk - Rollup
Rendered Chunk - Runtime
Module Brief - Runtime
Module Task Result - Side
Effect Detail - Some statement is mark as side effects free via
Pure, but we need to know the original statement side effects when do some runtime wrapper optimization. A global variable access withpureannotation, it could be eliminated when unused, but If we can’t remove it’s wrapper safely,because runtime behavior of global variable access maybe execution order aware - Sourcemap
Asset Meta - Stable
Module Id StableModuleIdis the stabilized version ofModuleId.- Stmt
Info - Stmt
Info Idx - Stmt
Info Meta - Stmt
Infos - Symbol
Ref SymbolRefis used to represent a symbol in a module when there are multiple modules.- Symbol
RefDb - Symbol
RefDb ForModule - Symbol
RefFlags
Enums§
- Bundle
Mode - Chunk
Kind - Chunk
Reason Type - Concatenate
Wrapped Module Kind - We only concatenate wrapped modules when
WrapKindisEsm - Constant
Value - Entry
Point Kind - Exports
Kind - HmrUpdate
- Hybrid
Index Vec - Import
Kind - Instantiation
Kind - Interop
- Legacy
Module Idx - Member
Expr Object Referenced Type - Module
- Module
DefFormat - Module Definition Format.
- Module
Loader Msg - Module
Render Args - Output
- Resolved
External - Scan
Mode - Source
MapGen Msg - Sourcemap
Chain Element - Specifier
- StrOr
Bytes - Symbol
OrMember Expr Ref - Tagged
Symbol Ref - This
Expr Replace Kind - Watcher
Change Kind - Wrap
Kind
Constants§
Traits§
Functions§
- common_
debug_ symbol_ ref - passing a
SymbolRef, it will return it’s string repr, the format:${stable_id} -> ${symbol_name} - generate_
replace_ this_ expr_ map - get_
leading_ comment - Get the leading comment of a node when condition is satisfy
- json_
value_ to_ ecma_ ast - Converts a
serde_json::Valueto anEcmaAst. - json_
value_ to_ expression - Converts a
serde_json::Valueto an oxcExpression.