maudit_rolldown_common 0.1.0

This crate is mostly for sharing code between rolldwon crates. fork of Rolldown for the Maudit project until Rolldown is published on crates.io
Documentation
1
2
3
4
5
6
7
8
oxc_index::define_index_type! {
    pub struct ModuleIdx = u32;
}

// Preserved module idx used for representing a module that is not in the module graph.
// e.g.
// create a module idx for `ImportRecord` for `require` ExpressionIdentifier
pub const DUMMY_MODULE_IDX: ModuleIdx = ModuleIdx::from_usize_unchecked(u32::MAX as usize);