Error importing Wasm in web application: wasm validation error: at offset 1889895: too many exports
I am trying to compile my c++ code to wasm and use it in a web application made with Next.js.
I have been able to compile a simple sample and use it without any issue importing and using it like this: