File tree 2 files changed +9
-3
lines changed
crates/swc_ecma_minifier/src/compress/pure
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ swc_core : patch
3
+ swc_ecma_minifier : patch
4
+ ---
5
+
6
+ fix(es/minifier): Allow TypeScript nodes to fix ` styled-jsx `
Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ pub(super) struct VarWithOutInitCounter {
300
300
}
301
301
302
302
impl Visit for VarWithOutInitCounter {
303
- noop_visit_type ! ( fail ) ;
303
+ noop_visit_type ! ( ) ;
304
304
305
305
fn visit_arrow_expr ( & mut self , _: & ArrowExpr ) { }
306
306
@@ -368,7 +368,7 @@ pub(super) struct VarMover {
368
368
}
369
369
370
370
impl VisitMut for VarMover {
371
- noop_visit_mut_type ! ( fail ) ;
371
+ noop_visit_mut_type ! ( ) ;
372
372
373
373
/// Noop
374
374
fn visit_mut_arrow_expr ( & mut self , _: & mut ArrowExpr ) { }
@@ -492,7 +492,7 @@ pub(super) struct VarPrepender {
492
492
}
493
493
494
494
impl VisitMut for VarPrepender {
495
- noop_visit_mut_type ! ( fail ) ;
495
+ noop_visit_mut_type ! ( ) ;
496
496
497
497
/// Noop
498
498
fn visit_mut_arrow_expr ( & mut self , _: & mut ArrowExpr ) { }
You can’t perform that action at this time.
0 commit comments