In rust project after build I got web3_wasm.wasm = 1.2MB
But after run-s clean && vite (yarn dev) to trigger the plugin tocopy wasm to node_modules.
I got web3_wasm_bg.wasm = 706KB 😳 (which is good in case nothing break)
So the question is what (or who) make the size smaller?
I try to peek a around the code but didn't see anything related to compression.
In rust project after build I got
web3_wasm.wasm
=1.2MB
But afterrun-s clean && vite
(yarn dev) to trigger the plugin tocopywasm
tonode_modules
. I gotweb3_wasm_bg.wasm
=706KB
😳 (which is good in case nothing break)So the question is what (or who) make the size smaller? I try to peek a around the code but didn't see anything related to compression.
Thanks.