What is the maximum project size of angular ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the maximum project size of angular ?

Hi all, I'm learning angular . I want to know what is the maximum project size of an angular project?And how to reduce the file size of angular project? Thanks

8th Nov 2020, 4:19 AM
swali1
4 Answers
+ 2
The size will always vary and is dependent on the type of app you're making. I personally always try not to exceed 300kb (not gziped). Always use tree shaking (only grab what you need from a package, and not its entirety) and code splitting (content that is not required in the first render, should be split and loaded later). That's a general rule, not just for angular.
8th Nov 2020, 4:44 AM
CHMD
CHMD - avatar
+ 2
Check the concepts I mentioned (tree shaking and code splitting for angular on Google). That's how you minimize your final build size.
8th Nov 2020, 4:55 AM
CHMD
CHMD - avatar
+ 1
Thanks for the answer ! But how can I decrease the size of the angular project since the project works only with all files . Like do I have to delete certain files in the project? And which ones? How to reduce the file size ? Thanks for the help
8th Nov 2020, 4:52 AM
swali1
+ 1
thanks and cheers!!!
8th Nov 2020, 5:06 AM
swali1