Reduce WASM bundle size

This commit is contained in:
2026-10-26 14:19:19 +00:00
parent c8b4e211a0
commit 0b21910e2b
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -44,3 +44,4 @@ console_error_panic_hook = "0.1"
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
+1 -1
View File
@@ -19,7 +19,7 @@
<link data-trunk rel="copy-file" href="pwa/icons/icon.svg" data-target-path="icons">
<link data-trunk rel="copy-file" href="pwa/icons/icon-192.png" data-target-path="icons">
<link data-trunk rel="copy-file" href="pwa/icons/icon-512.png" data-target-path="icons">
<link data-trunk rel="rust" href="Cargo.toml">
<link data-trunk rel="rust" href="Cargo.toml" data-wasm-opt="z">
<link data-trunk rel="css" href="vendor/bootstrap.min.css">
<link data-trunk rel="css" href="theme.css">
<link data-trunk rel="css" href="style.css">