Is there a way to reduce the size of the imported file?
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
thanks for the response. you can close the ticket
Hello, Jonathan!
We appreciate your feedback.
Please let us know if more questions arise.
Best Regards,
Maksym