mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
fix(es/transforms/react): Change order of passes (#1639)
This commit is contained in:
parent
882e2d91b6
commit
fe107a1223
@ -31,11 +31,11 @@ where
|
|||||||
let refresh_options = mem::replace(&mut options.refresh, None);
|
let refresh_options = mem::replace(&mut options.refresh, None);
|
||||||
|
|
||||||
chain!(
|
chain!(
|
||||||
jsx(cm.clone(), comments.clone(), options),
|
|
||||||
display_name(),
|
|
||||||
jsx_src(development, cm.clone()),
|
jsx_src(development, cm.clone()),
|
||||||
jsx_self(development),
|
jsx_self(development),
|
||||||
pure_annotations(comments.clone()),
|
refresh(development, refresh_options, cm.clone(), comments.clone()),
|
||||||
refresh(development, refresh_options, cm.clone(), comments)
|
jsx(cm.clone(), comments.clone(), options),
|
||||||
|
display_name(),
|
||||||
|
pure_annotations(comments),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user