playground side PR: https://github.com/oxc-project/playground/pull/71
I went ahead testing out this. Let me know if this is not the plan.
I think the benefit is that this allows rust-side playground code to
reuse some code from other napi crates, for example, `oxc_napi` and
`oxc_parser_napi`. For now, I started as mostly copying paste it and
replacing `#[wasm_bindgen]` with `#[napi]`, but I also used `oxc_napi`
for `OxcError` which replaced diagnostic serialization code from
playground.
---------
Co-authored-by: Boshen <boshenc@gmail.com>