Trait swc_ecma_transforms_module::path::ImportResolver[][src]

pub trait ImportResolver {
    fn resolve_import(
        &self,
        base: &FileName,
        module_specifier: &str
    ) -> Result<JsWord, Error>; }

Required methods

Resolves target as a string usable by the modules pass.

The returned string will be used as a module specifier.

Implementations on Foreign Types

Implementors