Reducing a typescript project size | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Reducing a typescript project size

It is normal that we complie the typescript code and convert them to js code so that the browser can understand and analyze js code But is there any way to prevent duplicating code to reduce the project size?

9th Nov 2020, 8:32 PM
Arsham Aazami
Arsham Aazami - avatar
1 Answer
+ 2
u can consider lazy loading which minimizes the bundle’s size when initializing the project/app, that’s in case u r using a JS framework like Angular
10th Nov 2020, 1:27 PM
Boulos Ananian
Boulos Ananian - avatar