humlab-sead / sead_browser_client

Online browser client for the SEAD database
2 stars 0 forks source link

Optimize bundle size #312

Open johanvonboer opened 10 months ago

johanvonboer commented 10 months ago

At the time of this writing it looks like this: image

The pdfmake.js library is 2.64MB and should probably be loaded on-demand when a pdf export function is activated, and not be included in the main bundle. There are probably other such libraries that should be given the same treatment, like the excel libs (of which there are currently two - this in itself should be resolved by switching completely over to just using one of them).