Optimizing Angular 2 Apps
summary
An Angular 2 seed starts at ~420 KB after uglify and gzip which equals ~67 seconds on GPRS, then using source-map-explorer to map output to inputs and webpack 2 tree-shaking cuts it to ~191 KB (~30 s). Ahead‑of‑time compilation removes the compiler and drops to ~115 KB (~18 s). Aggressive optimisations via a pipeline (ngc + Closure Compiler with Sickle) yield ~27–30 KB and ~5 s on the worst links.
AI-written summary · about
