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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Big size of build file on Vue

Thread ID:

Created:

Updated:

Platform:

Replies:

140637 Sep 4,2018 08:45 PM UTC Oct 30,2018 10:02 AM UTC ASP.NET Core - EJ 2 7
loading
Tags: Common
natxo
Asked On September 4, 2018 08:45 PM UTC

I have done and small code only to see results.
I have included only DatePickerPlugin to test as the example on your page.
All is running well on npm run dev.
When I run "npm run build" the final result is 1,4 Mb with only one component imported and used.
Why is so high the final result?


Balaji M [Syncfusion]
Replied On September 5, 2018 05:55 PM UTC

Hi Natxo, 
 
Thanks for contacting Syncfusion Support. 
 
We have looked into your query. The Larger size of the Bundle file is due to an issue in Vue tree shaking from our side. We have logged this issue and will fix the same and provide you the solution within the final week patch release of September 2018.  
 
 
Let us know, if you have any concerns. 
 
Regards, 
M. Balaji  


Natxo
Replied On September 6, 2018 08:00 AM UTC

Thanks for your great attention!

Prem Kumar Madhan Raj [Syncfusion]
Replied On September 6, 2018 10:38 AM UTC

Hi Natxo, 

Most welcome. Please let us know if you any need further assistance. 

Regards, 

Prem Kumar M 


natxo
Replied On October 1, 2018 06:02 PM UTC

Hi.
I have tried again the same example but the result is similar size.

Only with datepicker component imported, and with the simple example on your docs, the size is 1,46 MB.
Is the patch about this problem done?

Thanks.

Prince Oliver [Syncfusion]
Replied On October 2, 2018 01:09 PM UTC

Hi Natxo, 

Sorry for the inconvenience caused. We are currently working on this with high priority and the fix for the issue will be included in the upcoming patch which is scheduled for next week.  

Regards, 
Prince 


Dan Johnson
Replied On October 29, 2018 03:06 PM UTC

I am also seeing huge file size which is a huge concern.  Importing just grids, menu and dropdowns baloons the common chunk to over 8mb.  We are seeing problems with our clients in testing and can't push this to production until this gets resolved.  When will this issue be resolved?

Jesus Arockia Sankaran S [Syncfusion]
Replied On October 30, 2018 10:02 AM UTC

Hi, 

We have checked this issue, and we are not able to replicate it.  We have attached a sample for verification where the production build size is 700Kb only. We suspect that older version of webpack is used and insist you upgrade it by either installing “webpack version 4” or switching to the latest version of “vue-cli”. 

Reference Image

 


Please get back to us if you need further assistance.  

Regards, 
Jesus Arockia Sankaran S 



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

or the page will be automatically redirected to 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

;