fix(es/transforms/react): Change order of passes (#1639)

This commit is contained in:
Niklas Mischkulnig 2021-05-05 07:13:06 +02:00 committed by GitHub
parent 882e2d91b6
commit fe107a1223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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),
) )
} }