Skip to content

Commit

Permalink
refactor: some tricks to reduce bundle size
Browse files Browse the repository at this point in the history
  • Loading branch information
kareemmahlees committed Dec 29, 2023
1 parent d7153da commit cb5eaab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ default-run = "table_x"
edition = "2021"
rust-version = "1.60"

[profile.release]
panic = "abort"
codegen-units = 1
lto = true
opt-level = "s"
strip = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[build-dependencies]
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"sourceMap": false,
"plugins": [
{
"name": "next"
Expand Down

0 comments on commit cb5eaab

Please sign in to comment.