Open xjamundx opened 8 years ago
I think we can take the comment node and move it to the parent and this will preserve them. I'll try to mess with it a bit.
Someone figured this out before: http://astexplorer.net/#/kGspd21ZnD/1
See this as well: https://github.com/facebook/jscodeshift/issues/44
I think we can take the comment node and move it to the parent and this will preserve them. I'll try to mess with it a bit.