To use:
- Clone the repo
- Run
cd webpack5wasm && npm install
- install this Rust-based http server: https://github.com/thecoshman/http (it knows how to handle the MIME-type)
- Run
http
to run the server - Navigate to the index and view the console.
Repo containing a toy example of working JS project with imported WASM functions.
JavaScript
To use:
cd webpack5wasm && npm install
http
to run the server