[−][src]Trait swc_bundler::Hook
Note: As this is rarely used, it's recommended to pass it as a trait object.
Required methods
fn get_import_meta_url(
&self,
span: Span,
file: &FileName
) -> Result<Option<Expr>, Error>
&self,
span: Span,
file: &FileName
) -> Result<Option<Expr>, Error>
Return None to preserve import.meta.url