Build file size
talmog opened this issue · comments
Hi again Antony,
Issue Overview
In my project, gulp build
creates two files, bundle.js and boot.js with file sizes 1.1MB and 1.6MB respectively.
It seems very big. granted, I have a decent size project, but nothing close to 2.7 MB of javascript.
Is there a way to make the files smaller?
Are things included only once?
Does it bundle my spec.ts files?
Thanks,
Tomer
An interesting article related to this issue:
http://blog.jhades.org/how-to-run-angular-2-in-production-today/
This is angular2's issue, since it cannot be mangled
(Well, in beta.0, even mangling it, the code size is still big, around ~500KB, Angular team is still working on that)
I'll update the starter if it's already resolved, thanks.
Thank you!