Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
30
webpack bundle size is getting increased drastically
posted

I have added infragistics ignite-ui-spreadsheet component.

after adding this in my react project, the bundle size of app got increased .

please see screenshots - 

please help me with this issue

  • 34810
    Offline posted

    Hello Shashikant,

    My team and I have been investigating into the behavior you are seeing, and I have a couple of questions for you on this matter. Would it be possible for you to please provide information on the following?

    1. What was the size of the bundle prior to adding the igniteui-react-spreadsheet and Excel modules?

    2. Is the screenshot of a production build or a debug build? For more information on the production build, you can see the following site: https://create-react-app.dev/docs/production-build/.

    It is also worth noting that the Spreadsheet and Excel packages are large, and so it is expected that adding these will grow the size of your application a bit. This is a trade-off for the sheer amount of functionality that is brought in by the Excel library and the Spreadsheet control. Furthermore, analyzing the uncompressed packaging of the React application doesn’t really mean too much, as the size of the application will be reduced when compressed.

    Please let me know if you have any other questions or concerns on this matter.