mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
30a03a3348
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>
2 lines
52 B
JavaScript
2 lines
52 B
JavaScript
export * from '@oxc-playground/binding-wasm32-wasi'
|