From b2f324de239441a04a94037c4c25ba675a9aff84 Mon Sep 17 00:00:00 2001 From: itsscb Date: Tue, 3 Sep 2024 13:47:00 +0200 Subject: [PATCH] feat(frontend): adds performance tweaks --- frontend/Cargo.toml | 5 +++++ frontend/index.html | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/frontend/Cargo.toml b/frontend/Cargo.toml index f318717..ed52c28 100644 --- a/frontend/Cargo.toml +++ b/frontend/Cargo.toml @@ -20,3 +20,8 @@ gloo-net = "0.6.0" serde = { version = "1.0.209", features = ["derive"] } serde_json = "1.0.127" rand = "0.8.5" + +[profile.release] +opt-level = "z" +lto = true +strip = true \ No newline at end of file diff --git a/frontend/index.html b/frontend/index.html index 7fdfd91..c1be6a3 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -49,7 +49,11 @@ align-items: center; } - + + +