Skip to content
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

Make it works on browser #1113

Open
lu-zen opened this issue Aug 30, 2021 · 4 comments
Open

Make it works on browser #1113

lu-zen opened this issue Aug 30, 2021 · 4 comments

Comments

@lu-zen
Copy link

lu-zen commented Aug 30, 2021

Hi.

When trying to use oso in browser enviroments as a esm module it throws an error related to the polar wasm bin.

Is the wasm binaries ready to use directly on browser?

Browser: Firefox v90.0
Oso: v0.20.0-beta / v0.15.0

Thanks in advance.

@cofinalsubnets
Copy link
Contributor

Hi @lu-zen, thanks for the issue. Are you using the Rollup wasm plugin?

@IgnusG
Copy link

IgnusG commented Jan 2, 2022

I was trying out oso in codesandbox which uses parcel. Not sure if wasm doesn't work there but parcel should support wasm without modifications https://en.parceljs.org/webAssembly.html

@dhatch
Copy link
Contributor

dhatch commented Jan 3, 2022

Hi @IgnusG, I was able to reproduce this. We're looking into this!

@dhatch
Copy link
Contributor

dhatch commented Jan 3, 2022

@IgnusG it doesn't seem like WASM is fully supported yet in Parcel: parcel-bundler/parcel#1325 (The documentation page you referenced is for Parcel v1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants