Function swc_core::transforms::typescript::strip::strip_with_jsx
[−]pub fn strip_with_jsx<C>(
cm: Arc<SourceMap>,
config: Config,
comments: C,
top_level_mark: Mark
) -> impl Fold + VisitMut where
C: Comments,
Available on crate feature
__transforms
only.Expand description
strip, but aware of jsx.
If you are using jsx, you should use this before jsx pass.