js-compute-runtime
js-compute-runtime copied to clipboard
Load Wasm files in Javascript
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?
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.