As we can see analyzing bundle size (after making it smaller like in #7 ) - node_modules is slightly bigger than src:
Whole gzipped main is 296KB big, where src is 140KB and node_modules 155KB.
The biggest parts of node_modules are jspdf (86KB gzipped) and html2canvas (39KB gzipped)
As jspdf and html2canvas are used only when generating pdf of the report, these modules should be lazy loaded. But for now routing, needed for lazy loading, is not yet implemented in the application.
As we can see analyzing bundle size (after making it smaller like in #7 ) - node_modules is slightly bigger than src:
Whole gzipped main is 296KB big, where src is 140KB and node_modules 155KB. The biggest parts of node_modules are jspdf (86KB gzipped) and html2canvas (39KB gzipped)