You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created a create-react-app and ran npm run eject and updated the config/webpack.config.js accordingly for your loader. I've added a cpp file in my src as such
#include<emscripten.h>
EMSCRIPTEN_KEEPALIVE
intadd(int x, int y) {
return x + y;
}
Hi, can you assist on an issue im having.
Project Setup
Heres my project for reference: https://github.com/AHaliq/wasmtest
I've created a
create-react-app
and rannpm run eject
and updated theconfig/webpack.config.js
accordingly for your loader. I've added a cpp file in my src as suchand in
index.js
Everything seems fine but I'm getting unable to compile error
The issue
running the commands individually however works fine
and
runs fine
The text was updated successfully, but these errors were encountered: