frappe-ui
frappe-ui copied to clipboard
[Perf] Build as a component library
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