antonybudianto / angular-starter

:star: Gulp Angular Starter using TypeScript (Updated to 4.4.3)

Home Page:https://antonybudianto.github.io/angular-starter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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!