☝️Small business or a startup? See if you qualify for our special offer.
+

flexmonster.full.js is a huge file, is there a min version?

Answered
Jonathan Bishop asked on April 8, 2025

Is there a way to reduce the size of the imported file?

Attachments:
flexmonster.png

3 answers

Public
Maksym Diachenko Maksym Diachenko Flexmonster April 9, 2025

Hello, Jonathan!

Thank you for writing to us.

The flexmonster.full.js size is attributed to the goal of including all modules and third-party libraries used by our component. Our framework wrappers use this file to simplify the bundling process, ensuring that all features are included.

Currently, the only way to reduce the imported file size is to use a plain JavaScript version of Flexmonster with the flexmonster.js file. This file only includes the core Flexmonster functions, and the additional modules for using the toolbar, rendering charts, and export are fetched on demand. Additionally, you could configure the dynamic loading of Flexmonster only on the pages that use it. However, this approach would make it impossible to use our framework wrappers.

Please let us know if our answer helped you.

Best Regards,
Maksym

Public
Jonathan Bishop April 9, 2025

thanks for the response. you can close the ticket

Public
Maksym Diachenko Maksym Diachenko Flexmonster April 10, 2025

Hello, Jonathan!

We appreciate your feedback.
Please let us know if more questions arise.

Best Regards,
Maksym

Please login or Register to Submit Answer