Fork of @surma's work here: https://gist.github.com/surma/b2705b6cca29357ebea1c9e6e15684cc
Using browserify + budo.
Build instructions:
- Install emscripten and ensure it is in your PATH, available at
emcc
- Clone this gist
npm install
npm start
- Open
http://localhost:9966
- Look at console
Note: This doesn't emit a file like with Webpack, so if you aren't running your web server in the same directory as your wasm file, you will be forced to output your emcc build to /public/
(for example) so that the wasm file can be found by the browser.