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
4 Réponses
+ 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.
+ 2
Check the concepts I mentioned (tree shaking and code splitting for angular on Google). That's how you minimize your final build size.
+ 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
+ 1
thanks and cheers!!!