Skip to content

Commit 6d8079e

Browse files
committed
chore: trim shipped size (right-size sidebar logo, strip symbols, unship dev harness)
- public/assets/icon.png was a 512px/225KB glossy render used for a 28px sidebar logo — downscale to 128px/16KB (saves ~209KB in the bundle). - profile.release strip: debuginfo -> symbols (drops symbol names too; debuginfo was already stripped, backtraces already symbol-only). - Move public/hotspot-test.html (a stale dev calibration page with broken .png asset refs) to dev/ so vite stops copying it into the release bundle.
1 parent 68194c0 commit 6d8079e

4 files changed

Lines changed: 2 additions & 2 deletions

File tree

public/assets/icon.png

-208 KB
Loading

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,4 @@ debug = "line-tables-only"
105105
[profile.release]
106106
lto = true
107107
codegen-units = 1
108-
strip = "debuginfo"
108+
strip = "symbols"

src/lib/constants/hotspots.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { ControlId } from "../config";
22
import type { HotspotPosition } from "./types";
33

44
/** Hotspot positions for the TOP-DOWN photo (naga-top.webp).
5-
* Measured via hotspot-test.html click calibration. */
5+
* Measured via dev/hotspot-test.html click calibration (dev-only, not shipped). */
66
export const topViewHotspots: Partial<Record<ControlId, HotspotPosition>> = {
77
mouse_left: { left: 25.5, top: 10, label: "control.name.mouseLeft" },
88
wheel_up: { left: 45.5, top: 13.5, label: "▲", size: "sm" },

0 commit comments

Comments
 (0)