swc_ecma_compat_es2021/
lib.rs

1
2
3
4
5
6
7
8
9
use swc_ecma_ast::Pass;

pub use self::logical_assignments::logical_assignments;

mod logical_assignments;

pub fn es2021() -> impl Pass {
    logical_assignments()
}