frappe-ui icon indicating copy to clipboard operation
frappe-ui copied to clipboard

[Perf] Build as a component library

Open casesolved-co-uk opened this issue 3 months ago • 0 comments

Currently builds as a huge app rather than a component library forcing all consumer apps to re-parse and rebuild the entire library. This is a massive waste of time and resources, requiring at least 2GB RAM to build any dependent app including hrms, insights, crm, etc...

https://github.com/frappe/frappe-ui/blob/main/vite.config.ts

Have made the changes here, still to test with other apps:

https://github.com/CaseSolvedUK/frappe-ui/tree/buildtolib

casesolved-co-uk avatar Jan 13 '26 01:01 casesolved-co-uk