I have a small-medium size (~28 KB including just the (TypeScript transpiled) JS + HTML templates) Angular 2 app.
It's based originally on the angular.io quickstart, but now I am bundling/minifying it using JSPM for deployment.
The bundled JS file I get is 2.1 MB, coming down to 449 KB when served with gzip compression.
This is still rather large, and I would like to ask how best to go about reducing the overall size of the app for deployment, to deliver my app in the smallest and most efficient bundle.
Edit:
I should mention that I've reduced the uncompressed but minified bundle size to 1.9 MB by importing RxJS operators individually, e.g. with import 'rxjs/add/operator/map';
; so any size savings I'd be looking for on top of that.
Many thanks in advance for your help.