use rolldown_plugin::typedmap::TypedMapKey;
pub const THRESHOLD_SIZE: usize = 10 * 1000;
#[derive(Hash, PartialEq, Eq)]
pub struct ViteImportGlob;
pub struct ViteImportGlobValue(pub bool);
impl ViteImportGlobValue {
pub fn is_sub_imports_pattern(&self) -> bool {
self.0
}
}
impl TypedMapKey for ViteImportGlob {
type Value = ViteImportGlobValue;
}