Minimal example making webpack and wasm/Emscripten work together.
Build instructions:
- Clone this gist
npm install
npm start
- Open
http://localhost:8080
- Look at console
Note: Docker is required to build this project.
I filed a bug with webpack to make this integration easier.
More questions? Hit me up on Twitter.
License Apache-2.0
<3 Surma
Hey guys,
I'm trying to load a WASM module from a react project created with create-react-app and I'm having trouble finding the correct
publicPath
cause I keep gettingmy glue code and my wasm sources are located in
/src/video/
so I have the following webpack rule:When I look at the chrome network console however, a call is made by my glue code at
Any Ideas ?