Hi Steven,

The difference is that ng serve uses webpack, and has turned AOT, and 
lazyloading on by default. BTW, webpack now also has tree shaking, so there 
is less need for rollup anyway. At the moment, AFAIK rollup does a slightly 
better job at tree shaking, so you might want to stick to it for production 
builds. In that case, make sure lazyloading is turned off. I don't recall 
the ng serve switches fir that, but I'm sure you can look those up.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to