Removing duplicate nodes

Somewhere along the way we transitioned from
ej2-listview to
ej2-angular-listview
I still have both in my build (and they're massive). See Attached Screenshot of Webpack analysis
What's the cleanest way to dedup this?

Attachment: webpack_analysis_2_820e686e.zip

3 Replies 1 reply marked as answer

KR Keerthana Rajendran Syncfusion Team January 15, 2021 11:45 AM UTC

Hi Walter, 
 
Thanks for contacting Syncfusion support. 
 
Based on the provided details, we were unable to predict the exact issue you are facing with ListView packages. Can you please provide us some additional details like exact screeshot or video on the issue to assist you promptly.  
    
Regards,  
Keerthana.   
 



WC Walter Cook January 19, 2021 04:06 PM UTC

I don't really have an issue per se, everything works.
I see I referenced the wrong library.
I have 
ej2-treegrid AND
ej2-angular-treegrid in my pack.
Looks pretty duplicative and they're big. What's the cleanest way to remove the old one?
Thanks


PK Padmavathy Kamalanathan Syncfusion Team January 20, 2021 12:53 PM UTC

Hi Walter, 
 
Thanks for the update. 
 
Query: Looks pretty duplicative and they're big. What's the cleanest way to remove the old one? 
 
Package ej2-treegrid is a dependent package of ej2-angular-treegrid. Package ej2-angular-treegrid need ej2-treegrid for rendering Tree Grid and is not a duplicate. So we need not remove the ej2-treegrid package.  
 
Instead we can import and use the required feature modules alone as explained in the below help documentation, 
 
For example, if we use Paging and Filter features of Tree Grid, we can import and inject PageService and FilterService alone into the providers section and neglect other services. 
 
Kindly let us know if you face any issue due to the dependent package of Tree Grid. 
 
Regards, 
Padmavathy Kamalanathan 


Marked as answer
Loader.
Up arrow icon