diff --git a/web/Trunk.toml b/web/Trunk.toml index f92165f..0a1994e 100644 --- a/web/Trunk.toml +++ b/web/Trunk.toml @@ -1,13 +1,3 @@ [serve] addresses = ["127.0.0.1"] port = 8001 - -# Post-build: separate DWARF debug info into .debug.wasm files, then strip+optimize the served binaries. -# Chrome DevTools (with C/C++ DWARF extension) can load the .debug.wasm files for debugging. -[[hooks]] -stage = "post_build" -command = "sh" -command_arguments = [ - "-c", - "for f in \"${TRUNK_STAGING_DIR}\"/*.wasm; do cp \"$f\" \"${f%.wasm}.debug.wasm\" && wasm-opt --strip-dwarf -Oz \"$f\" -o \"$f\"; done", -] diff --git a/web/index.html b/web/index.html index ef5d423..9f54d75 100644 --- a/web/index.html +++ b/web/index.html @@ -22,12 +22,13 @@ - + + - +