rolldown 1.0.3

Fast JavaScript bundler in Rust, designed for the future of Vite
Documentation
1
2
3
4
5
6
7
8
9
10
use oxc_index::IndexVec;
use rolldown_common::{Asset, ChunkIdx, InsChunkIdx, InstantiatedChunk, ModuleIdx, StmtInfos};
use rolldown_ecmascript::EcmaAst;
use rolldown_utils::indexmap::FxIndexSet;

pub type IndexChunkToInstances = IndexVec<ChunkIdx, FxIndexSet<InsChunkIdx>>;
pub type AssetVec = Vec<Asset>;
pub type IndexInstantiatedChunks = IndexVec<InsChunkIdx, InstantiatedChunk>;
pub type IndexEcmaAst = IndexVec<ModuleIdx, Option<EcmaAst>>;
pub type IndexStmtInfos = IndexVec<ModuleIdx, StmtInfos>;