From fe0460258a8040c31634c1b27a450cef821dded1 Mon Sep 17 00:00:00 2001
From: QuartzLibrary <81446760+QuartzLibrary@users.noreply.github.com>
Date: Fri, 10 Apr 2026 02:13:30 +0100
Subject: [PATCH] Simplify build
---
web/Trunk.toml | 10 ----------
web/index.html | 9 +++++----
2 files changed, 5 insertions(+), 14 deletions(-)
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 @@
-
+
+
-
+