We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 056256f commit 16851d9Copy full SHA for 16851d9
bin/wasm-node/javascript/prepare.js
@@ -34,7 +34,7 @@ child_process.execSync(
34
// use the `.wasm` generated by the Rust compiler.
35
try {
36
child_process.execSync(
37
- "wasm-opt -o autogen/tmp.wasm -O ../../../target/wasm32-wasi/release/substrate_lite_js.wasm",
+ "wasm-opt -o autogen/tmp.wasm -Os --strip-debug --vacuum --dce ../../../target/wasm32-wasi/release/substrate_lite_js.wasm",
38
{ 'stdio': 'inherit' }
39
);
40
} catch(error) {
0 commit comments