[][src]Trait swc_bundler::Hook

pub trait Hook: Sync + Send {
    fn get_import_meta_props(
        &self,
        span: Span,
        module_record: &ModuleRecord
    ) -> Result<Vec<KeyValueProp>, Error>; }

Required methods

fn get_import_meta_props(
    &self,
    span: Span,
    module_record: &ModuleRecord
) -> Result<Vec<KeyValueProp>, Error>

Loading content...

Implementors

Loading content...