/wasm-test

Repository with webpack / dev server for loading up wasm modules and patching with webpack to test functionality

Primary LanguageJavaScript

WASM Test

A basic application for testing WASM binaries in the browser using webpack and requirejs.

Usage

Caveats

Each wasm is different / requires different capabilities. This repo attempts to handle most things required for emscripten but assumes that any other dependencies like fs, crypto, streams, process, are pulled in with requirejs rather than using the globals / Module defined by emscripten. However, if you are using a basic emscripten build you can start with this repo and replace the contents in src/patch.js with the global Module definition needed for emscripten.