Function swc_ecma_transforms_typescript::strip::strip_with_jsx [−][src]
pub fn strip_with_jsx<C>(
cm: Lrc<SourceMap>,
config: Config,
comments: C,
top_level_mark: Mark
) -> impl Fold + VisitMut where
C: Comments,
Expand description
strip, but aware of jsx.
If you are using jsx, you should use this before jsx pass.