search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Modular DayPilot for Angular 4

Asked by Julien
7 years ago.

Hey, right now the Angular 4 Daypilot Pro loaded from npm only includes one big minified file including the calendar and the scheduler.

Since we are not using the calendar, could it be possible to load only the scheduler? Like that we could considerably reduce the size taken by DayPilot in our build.

Answer posted by Dan Letecky [DayPilot]
7 years ago.

At this moment it's not possible but we are checking if there is a way to exclude parts of the js file that are not needed.

A quick stats FYI: The Scheduler itself (without helper classes like Menu, Bubble, etc.) requires 520 KB of the total 850 KB (about 61%).

Comment posted by Julien
7 years ago.

hey Dan,

Thanks for your response.

The scheduler is a big part but anyway it is still good to save 330KB :-)

Let me know if you improve that in the next weeks / months.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.