habbes / xaval

Interactive web-based playground for computer vision exploration and experimentation
https://xaval.habbes.xyz
5 stars 0 forks source link

Bundle size and other optimisations for production #85

Open habbes opened 6 years ago

habbes commented 6 years ago

As a result of integrating Monaco editor, the app bundles are now huge (app.js is 1.6MB, ts.worker.js is 3.4MB). This should be addressed by the time the app gets to v1.0.

Some tips: Consider doing more research in techniques like code-splitting and tree shaking, and try to get the google closure compiler to work with the minification set to advanced level and see whether that helps.