`plugin/ecmascript/getting-started`'s code is not working
AkifumiSato opened this issue · 0 comments
AkifumiSato commented
https://swc.rs/docs/plugin/ecmascript/getting-started
I tried to follow this document but the contents seem to be out of date.
e.g.
- e.visit_mut_children_with(self);
+ e.span.visit_mut_children_with(self);
- e.left = Ident::new("kdy1".into(), e.left.span()).into();
+ e.left = Box::new(Ident::new("akfm".into(), e.left.span()).into());