[Vuejs]-Angular 4 min js file size

5👍

The minimal size with Angular CLI with prod flag to get a low size (see How to bundle an Angular app for production for details) is 52 KB.

You can also use experimental Google Closure Compiler integration with Angular to get a size of 16.6 KB (see http://www.syntaxsuccess.com/viewarticle/minimal-angular-application and the GitHub issue https://github.com/angular/angular/issues/8550)

2👍

Use ahead-of-time compilation to reduce the size of bundle.

https://angular.io/docs/ts/latest/cookbook/aot-compiler.html

Leave a comment