-
-
Notifications
You must be signed in to change notification settings - Fork 538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@oxc-parser/binding-wasm32-wasi
returns parsed program as string
#9783
Comments
I totally forgot about this. I was just wondering why I haven't removed Draft PR: #9630 |
Oh right, Additional note: My vite sample app currently relies on some hack https://github.com/hi-ogawa/reproductions/blob/0ca5023420efe071b553e65e99b175a0905d9d85/oxc-wasi-vite/vite.config.ts#L17. This could be a vite bug and also this can be probably worked around on napi-rs generation. I'm going to check this from both side. |
Currently napi-rs's browser output is not as bundler agnostic as For example, https://github.com/sxzz/ast-explorer uses |
Sad to say that using from CDN is no longer supported :-( |
reproduction: https://stackblitz.com/github/hi-ogawa/reproductions/tree/main/oxc-wasi-vite?file=src%2Fmain.js
(Github repo https://github.com/hi-ogawa/reproductions/tree/main/oxc-wasi-vite)
I tested
@oxc-parser/binding-wasm32-wasi
on browser andParseResult.program
is returned as raw string.The text was updated successfully, but these errors were encountered: