is_existing_node_builtin_modules

Function is_existing_node_builtin_modules 

Source
pub fn is_existing_node_builtin_modules(specifier: &str) -> bool
Expand description

While phf would offer faster lookups, it increases compile time. Since this function is not performance-critical, we prefer contains, which is faster than binary_search in this case — see https://github.com/oxc-project/oxc/issues/10076 for details.