Skip to main content

imported_module

Function imported_module 

Source
pub fn imported_module(
    from: &Path,
    specifier: &str,
    exists: impl Fn(&str) -> bool,
) -> Result<String>
Expand description

Resolves a package-relative import the same way when collecting the module sources and when compiling them to browser addresses.