Build the App
If we look back at our webpack configuration, we are going to be serving all of our files from the dist
directory, so first we need to move our .wasm
file over to that folder.
$ cp ./bincode_parser_bg.wasm ./dist/
Now that we have that in the right place, run webpack against our app.
$ ./node_modules/.bin/webpack
This should put a single
app.js
file in your dist/js
folder. At that point our job as front end engineers is done, now how do we see this bad boy in action?