swc_ecma_transforms_compat/es2021/
mod.rs

1
2
3
4
5
6
7
8
9
10
use swc_ecma_visit::{Fold, VisitMut};

pub use self::logical_assignments::logical_assignments;

mod logical_assignments;

#[tracing::instrument(level = "info", skip_all)]
pub fn es2021() -> impl Fold + VisitMut {
    logical_assignments()
}