Premium support for our pure JavaScript UI components


Post by turina »

Dear support,
I'm trying to reduce the size on my bundle. I ran an analysis with this tool: https://chrisbateman.github.io/webpack-visualizer/
The result is below:

bryntum-build-size.png
bryntum-build-size.png (38.68 KiB) Viewed 799 times

It seems that bryntum has a size of approx 3Mo. I was wondering if there is room for reducing the size. Do you have any advise? I red this article https://www.bryntum.com/docs/scheduler/guide/Grid/gettingstarted/multiple-products
but I'm not sure it is helpful for a react app with a single product (the scheduler). Thanks!


Post by sergey.maltsev »

Hi!

Currently there's no simple way to decrease app size using our modules bundles and wrappers.
They do contain all classes and this makes integration easier but in the opposite they are quite big.

The best solution for decreasing app size is to build it from sources.
We have custom-build WebPack examples for each product. This will create the "thinnest" app.
But it would need more efforts for using sources with React and Wrappers.

We deliver react wrappers source already in npm package but this requires updating imports to use source instead of module bundle.

I've created this feature request for the purpose
https://github.com/bryntum/support/issues/4627


Post by turina »

Thanks. I will follow the request.

BR


Post Reply