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
Copy file name to clipboardExpand all lines: docs/articles/getting-started/quick-start.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,6 +120,8 @@ The build command outputs:
120
120
*`build/static/` – copied static files
121
121
*`build/host/` – companion host binary
122
122
123
+
Outside of debug mode the build uses Go's `-trimpath` and `-ldflags="-s -w"` flags to strip debug information from the generated WebAssembly module. When [`wasm-opt`](https://github.com/WebAssembly/binaryen) is on your `PATH`, the CLI also runs `wasm-opt -Oz --strip-debug` to further shrink `app.wasm`. Set `RFW_SKIP_WASM_OPT=1` in the environment before invoking `rfw build` to skip the optimization step when troubleshooting or comparing unoptimized binaries.
0 commit comments