Angular Dart to JavaScript result way too big for production?

Issue

Is it right that the minimum / smallest compiled and minified JavaScript size of an AngularDart application (that does nothing) is about 650KB ?

That is way too much for mobile applications and even too big for normal applications.

Does anybody know how to get it under 100KB?

Solution

The “smallest compiled and minified Javascript” is 190KB today. We are tracking that number and care about deploy size and performance.

If you are seeing 650KB, there may be a bug somewhere; if you could provide details in an issue at https://github.com/angular/angular.dart we would be grateful.

Also, if you could share your use-cases and requirements it would help us in designing the system. e.g. we would love to understand the 100KB requirement.

Answered By – James deBoer

Answer Checked By – David Goodson (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *