We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Bundle size is more

Thread ID:

Created:

Updated:

Platform:

Replies:

148826 Nov 5,2019 05:56 PM UTC Nov 8,2019 11:04 AM UTC Angular - EJ 2 3
loading
Tags: Schedule
Kishore
Asked On November 5, 2019 05:56 PM UTC

Hi Team,


I am using scheduler and calender components from syncfusion. The bundle size of the synfusion is more compared to my application. Here is the attached screen for your reference.

Due to this my main.js file size big and have performance issue is reported by client.

Do you have any solution for it?

regards,
Kishore

Attachment: sync_99e434d2.zip

Vinitha Devi Murugan [Syncfusion]
Replied On November 7, 2019 10:42 AM UTC

Hi Kishore, 
 
Syncfusion Greetings. 
 
Could you please share the below or more detail that will be helpful for us to validate further at our end and provide a better solution as soon as possible.  
  • Did you faced the problem only in development or both development & production
  • Did you inject ScheduleAllModule,CalendarAllModule or ScheduleModule,CalendarModule in app.module.ts
  • Did you used webpack or angular cli application?
  • If possible share the sample or share the full code example and package version details.
Regards, 
M.Vinitha devi    
 


Kishore
Replied On November 7, 2019 01:55 PM UTC

Hi Vanitha,

Here are my comments

  • Did you faced the problem only in development or both development & production

[Kishore]: Both

  • Did you inject ScheduleAllModule,CalendarAllModule or ScheduleModule,CalendarModule in app.module.ts

[Kishore]: I use ScheduleModule, DateTimePickerModule

  • Did you used webpack or angular cli application?

[Kishore]: I use CLI

  • If possible share the sample or share the full code example and package version details.

[Kishore]: Here are the details

Versions

  • Angular 7.2
  • "@syncfusion/ej2-angular-calendars": "^17.3.26",
  • "@syncfusion/ej2-angular-schedule": "^17.1.51",
     Versions
          Build command: ng build --prod

Code

  • I have attached the codebase
  • I have attached one more stats for your reference.

Regards,

Kishore


Attachment: Code_and_stats_d9a3df85.zip

Vinitha Devi Murugan [Syncfusion]
Replied On November 8, 2019 11:04 AM UTC

Hi Kishore, 

Thanks for sharing the details. 
 
 
By default, while in production mode it optimize(compress & minify) and remove the unused, duplicate codes & modules from bundle file so that it contains less bundle size when compared to development mode because in development mode. 
 
 
Regards, 
M.Vinitha devi 
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon