-
Notifications
You must be signed in to change notification settings - Fork 248
Ship with a reasonable MirrorUsed for angularDart #409
Comments
/sub |
Work involved: |
Kasper Lund landed a commit (https://codereview.chromium.org//137953002) that added the MirrorsUsed declaration to the todo sample in the dart repo. See: This can serve as a useful guide for what Angular should automatically ship with so there is no need for every app to add Angular-specific MirrorsUsed metadata. |
very nice |
@jbdeboer do you have numbers as to how big hello world app is now? |
@mhevery the current size of angular hello world app is around 800kb. It is not so small :( |
There are Transformers now which remove the need for mirrors used. It creates static code for all the locations that used Mirrors. See: https://github.com/angular/angular.dart/blob/master/lib/transformer.dart for the transformers. This lowers the code size, and speeds up the application. |
@ufoscout The current hello world size after gzip is around 200kb. I don't think we can get it much smaller. https://github.com/angular/angular.dart/blob/master/scripts/travis/build.sh#L47 |
No description provided.
The text was updated successfully, but these errors were encountered: