swc_ecma_transforms_module::rewriter

Function import_rewriter

source
pub fn import_rewriter(
    base: FileName,
    resolver: Arc<dyn ImportResolver>,
) -> impl Pass
Expand description

Import rewriter, which rewrites imports as es modules.