-
code like this:
output:
two spaces are missing in front of 'console'; Thank you for your help |
Beta Was this translation helpful? Give feedback.
Answered by
JLHwung
Aug 4, 2020
Replies: 1 comment
-
Babel does not preserve whitespaces after transform. If you are meant to preserve whitespaces, you can try https://github.com/benjamn/recast. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kaicataldo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Babel does not preserve whitespaces after transform. If you are meant to preserve whitespaces, you can try https://github.com/benjamn/recast.