mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +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);
|
||||
|
||||
chain!(
|
||||
jsx(cm.clone(), comments.clone(), options),
|
||||
display_name(),
|
||||
jsx_src(development, cm.clone()),
|
||||
jsx_self(development),
|
||||
pure_annotations(comments.clone()),
|
||||
refresh(development, refresh_options, cm.clone(), comments)
|
||||
refresh(development, refresh_options, cm.clone(), comments.clone()),
|
||||
jsx(cm.clone(), comments.clone(), options),
|
||||
display_name(),
|
||||
pure_annotations(comments),
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user