Function swc_ecma_transforms_compat::es2015::es2015
source · [−]pub fn es2015<C>(
unresolved_mark: Mark,
comments: Option<C>,
c: Config
) -> impl Fold where
C: Comments,
Expand description
Compiles es2015 to es5.
Parameters
unresolved_mark
Used to generate require
calls.
See the documentation of regenerator for
more details.