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

Load Wasm files in Javascript #723

Open
rahul007-bit opened this issue Jan 26, 2024 · 1 comment
Open

Load Wasm files in Javascript #723

rahul007-bit opened this issue Jan 26, 2024 · 1 comment

Comments

@rahul007-bit
Copy link

I was using the @hanazuki/node-jsonnet library but it wasn't working with Fastly because Fastly doesn't support the nodejs API, such as fs and utils. So, I created my own library in Rust by wrapping Google's Jsonnet. My library produces wasm that can be used in JavaScript. I tried it with Cloudflare's workerd and it worked. However, I'm having trouble with Fastly. Is there any way to use the wasm file that is produced from my library in Fastly?

@sandys
Copy link

sandys commented Jan 29, 2024

hi folks,
related question - does fastly build allow for loading of wasm from inside javascript ? we have a few wasm modules that we used inside javascript.

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

2 participants