New answers tagged react
1
vote
Accepted
@emurgo/cardano-serialization-lib-browser on NextJS error when running `npm run build`
Try adding this line to webpack config:
config.output.webassemblyModuleFilename = 'static/wasm/[modulehash].wasm'
Also try loading component utilizing the wasm library using dynamic:
import dynamic ...
Top 50 recent answers are included