lakeFS icon indicating copy to clipboard operation
lakeFS copied to clipboard

Replace Vite with Farm for webui build

Open eladlachmi opened this issue 8 months ago • 0 comments

Farm is a Vite-compatible build tool written in Rust. With the release of Farm v1.0, production applications can be migrated from Vite to Farm.

Although Vite is French for "fast," an initial test migration shows that Farm should be French for "fasterrr".

Production build time with Vite:

Screenshot 2024-07-03 at 7 57 56

Production build time with Farm: Screenshot 2024-07-03 at 8 56 35

Since make build runs npm run build, this is a significant savings for each time it is run in local development, CI, and when building Docker containers. Dev builds, auto-refresh, and HMR times are also significantly improved.

eladlachmi avatar Jul 03 '24 06:07 eladlachmi