Testing out Wasm with JS modules
This is a proof of concept for using Wasm with JS modules. It uses Zig to compile the Wasm module and Vite to serve the static files.
Build the wasm module
zig build
Note: you can also run
zig build
from theweb
directory and it will work just fine
Run the server
cd web
npx vite # or whatever other static file server you want to use