angular-fullstack / generator-angular-fullstack

Yeoman generator for an Angular app with an Express server
https://awk34.gitbook.io/generator-angular-fullstack
6.13k stars 1.24k forks source link

Vendor bundle size #2724

Closed VocalZero closed 4 years ago

VocalZero commented 6 years ago
Item Version
generator-angular-fullstack 4.2.3
Node 8.11.2
npm 5.6.0
Operating System Debian 9
Item Answer
Transpiler Babel
Markup HTML
Router ui-router
Client Tests Jasmine
DB MongoDB
Auth Y

I'm having an issue with Vendor bundle size. The size of Vendor bundle is 2.63 MB and it causes my page to load slower.

gtopsis commented 5 years ago

I agree. It seems that angular and lodash are mainly responsible for this size. personally I'm trying to find a way to load only part of loadsh package in order to reduce the size. :/

Awk34 commented 5 years ago

One example: https://github.com/lodash/babel-plugin-lodash#readme