Emitter in SWC does not add expected space after '=>' in Arrow Functions
Hello friends, I am new to rust and SWC, I hope I am not wasting your time 🥹🙏🏻
I edited with extra space.
Now I want to edit the
add
to adds
, I is more than 2000 character and discord dose not let me send the code, so I put it in gist: https://gist.github.com/shahryarjb/6f314fa7fab85fb09751bb8146c919f3
My problem is it returns
but I need to have an space after =>
and before{}
like this
how can do it?
Thank you in advance4 Replies
You should fork swc_ecma_codegen
Sorry as I understood there is no option and If i want to edit this I should change the lib source?
Sorry I am not native english speaker
Yeap
@kdy1 Sorry for interrupting, the space between lines like the top post needs to change source?
I mean
For now my code delete all the spaces
Thank you in advance
---
This is my emmiter