News for hackers. Stuff that matters.
Re:Angular 2 Fundamentals Course by _alexander_ on Friday July 29, 2016 @01:46PM (#12188490)
20kb? Really? On last week I built NG2 application(rc.4) with one component and size was over 500kb, with all dependencies which needed to run it. Maybe @angular/core weight 20kb, but in order to run real world application need add many dependencies. rxjs, zoom.js, shims, and so on..
Re:Angular 2 Fundamentals Course by lloyd-christmas on Saturday July 30, 2016 @12:54AM (#12191696)
We have 75-100 components along with all the angular pieces, polyfills, and ngrx/rxjs. It's 250kb with a minimal build process. I haven't even started digging into any optimization/build tools. I think you're doing something wrong.
Re:Angular 2 Fundamentals Course by Bahamut on Friday July 29, 2016 @01:48PM (#12188502)
It's possible using smart techniques (standard minification/gzipping, Google Closure/Rollup, etc.).
Re:Angular 2 Fundamentals Course by vladimir-y on Friday July 29, 2016 @01:55PM (#12188574)
I heard they are going to reduce final app size by doing smart analyzing of used features and getting not used stuff out of the final build. But I might be wrong.