pub fn common_js_with_resolver(
    resolver: Box<dyn ImportResolver>,
    base: FileName,
    unresolved_mark: Mark,
    config: Config,
    scope: Option<Rc<RefCell<Scope>>>
) -> impl Fold
Expand description

Paramteres

unresolved_mark

Used to generate require call. This is required because the generated require shuold not be shadowned by a declaration named require in the same file.