tauri-apps / tauri-apps/plugins-workspace
Reduce binary size on some plugins
Open
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
Assessment
This issue has not been assessed yet.