/webpack5wasm

Repo containing a toy example of working JS project with imported WASM functions.

Primary LanguageJavaScript

Toy example of webpack 5's WASM module import funcitonality

To use:

  1. Clone the repo
  2. Run cd webpack5wasm && npm install
  3. install this Rust-based http server: https://github.com/thecoshman/http (it knows how to handle the MIME-type)
  4. Run http to run the server
  5. Navigate to the index and view the console.