tauri-apps / tauri-apps/plugins-workspace

Reduce binary size on some plugins

Open
#1,085 5 comments 0 reactions 0 assignees View on GitHub
type: feature request
Dominant language
Rust
Stars
1.8k
Forks
602
Avg merge
4d 14h
Merged PRs (30d)
9

Description

I think binary size is important for tauri plugins, as this is the biggest advantage for Tauri vs Electron

Did some testing on plugin size compiling `examples/api`, I commented out all extensions, and add in one at a time, here's the increased size of some plugins

Base size 3.34 MB (On Windows)

| Plugin | Size | Increase |
| --- | --- | --- |
| shell | 4.72 MB | 1.38 MB |
| updater | 4.25 MB | 0.91 MB |
| fs | 3.61 MB | 0.27 MB |
| dialog | 3.47 MB | 0.13 MB |
| log | 3.46 MB | 0.12 MB |
| store | 3.45 MB | 0.11 MB |

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.