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
importwasmfrom"./zlib-sample.wasm"// wasm is a base64 stringimport{Buffer}from'buffer';constgzip=awaitinitialize(Buffer.from(wasm,'base64'));// initialize is your example function copy in src/index.js
in chrome browser, i got error like this
can u help me figure out what's reason, very thanks
The text was updated successfully, but these errors were encountered:
i add the compress2 in your zlib-sample.c
run
npm run build
to compile to wasm filewrite code and run dev server with webpack
in chrome browser, i got error like this
can u help me figure out what's reason, very thanks
The text was updated successfully, but these errors were encountered: